I have 50 row in a tableview. How to show 10 row initially and on a button click next 10 and so on?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
scrollToRowAtIndexPath:atScrollPosition:animatedmethod in UITableViewDeclare an index variable and when button pressed, increment that by 10, construct an
NSIndexPathwith that and call the above method.Eg: