[super viewDidLoad]


Apple doc says that we need to call super in viewWillAppear while not in loadView, but I couldn’t find the comment on viewDidLoad though it calls super in the book. Could anyone comment on it? Thanks.

    [super viewDidLoad];


It doesn’t hurt to call super for viewDidLoad. In fact, sometimes it is necessary. Here is an excerpt from the UITableViewController documentation:

So while not required in all circumstances, I like to get into the habit of always calling [super viewDidLoad];