So I have a view controller which adopts UITableViewDelegate:
@interface MyViewController:UIViewController<UITableViewDelegate>
@property (weak, nonatomic) IBOutlet UITabelView *myTableView;
@end
In the implementation file MyViewController.m, I override
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{}
My question is, how does the height of tabel view row get returned to myTableView and further sets the height of each individual row?
Edited: Just to be clear, I tried to implement this mechanism in my own custom view class where specific information is asked for to lay out the view. I have no problem using UITabelView itself. :)