views:

23

answers:

0

If you create a new project and choose "Navigation Based Application", a RootViewController (which is actually a UITableViewController) class is created. In this VC, the method viewDidAppear is called BEFORE the method cellForRowAtIndexPath.

If you create a simple UITableViewController and add it to the project, the viewDidAppear is always called AFTER cellForRowAtIndexPath.

Does anyone know why? Shouldn't viewDidAppear be always called AFTER cellForRowAtIndexPath?