- how to get the notification when UITableview 's section scroll to top?
- - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
- CGRect rect = [tableView rectForRowAtIndexPath:indexPath];
- float ypos = rect.origin.y;
- if(y==<your identifier for top>) {
- NSLog(@"I am on top");
- }
- // rest of your code...
- }