when overriding the loadView method in UIViewController, should one call [super loadView] in the beginning of the method or at the end of the method? And why?
when overriding the loadView method in UIViewController, should one call [super loadView] in the
Share
Just to be really sure, you didn’t mean viewDidLoad, right? Because they are two very different methods… as of 3.0, the docs reccomend always calling viewDidLoad at the start.
You can call it either before or after, but usually it is placed at the end unless you have a reason to do otherwise.