Do I always have to call [super viewDidLoad] in the -viewDidLoad method?

If you are overriding the method you should still call the method in the super. Even if the super class is not doing anything with it today, Apple might one day change the implementation and your code will mysteriously stop working. If you really don’t need to do anything in that method, leave it out of your code entirely, and the super’s method will run as usual, without any intervention on your part.

Leave a Comment