Hi!
I have a UITableViewController where I want to avail of viewWillAppear, but it isn't firing for me.
I suspected I had the delegate assigned incorrectly until I found viewDidLoad is firing fine. I'm trying to resolve it all day, and have a work around as you can see below, but I'm not going to get any sleep tonight until I figure out why it's not being called :-)
At a glance, have any of ye got the answer?
- (void)viewDidLoad {
[super viewDidLoad];
[self performSelector:@selector(selectDefaultRow) withObject:nil afterDelay:0];
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self selectDefaultRow];
}
Many Thanks for your time.
Chris