Currently I have a UITableview, I have enough data that cannot be shown entirely on the screen, so user will have to scroll the table view.
The issue I'm seeing is that when I scroll all the way to the bottom, the last element shown in the table view is not really the last element however, if I do a touch drag, and try to drag it down really hard, I can see the last element, but if I release the finger, the scroll bounced back to the element that is displayed at the bottom, but not the last element
How can I ensure tableview scroll size is really same height as the container?
I did override the two methods:
- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
- (NSInteger)tableView:(UITableView*)tableView numberOfRowsInSection:(NSInteger)section
I can make:
- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
Really high, but still, when scroll down to the bottom, it is not the last element.