I am trying to load the table at the bottom of the scrolling view instead of the top. I used this code but it's loading the table at the top.
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
float bottomEdge = scrollView.contentOffset.y + scrollView.frame.size.height;
if (bottomEdge >= scrollView.contentSize.height) {
if ((isloading = true)) {
pageno= pageno+1;
[self fetchdata];
[self.tableview reloadData];
}
}
}