Hello Guys,
I face a strange situation. In my controller viewDidLoad calling before init method. Is any technical reason behind that ?
Hello Guys,
I face a strange situation. In my controller viewDidLoad calling before init method. Is any technical reason behind that ?
No, the viewDidLoad message is always called after init.
Are you sure init is called at all? There are several init methods especially for UIViewController, maybe another one is called instead making you think differently.
If you need more information, please paste the code of viewDidLoad and all of your init methods, and tell us how it is loaded (i.e. with code) or from a nib.