Reputation: 1004
init and initWithNibName are not called at all but viewDidLoad is called. Any thought?
Upvotes: 0
Views: 720
Reputation: 3218
You are loading the controller from a nib, this surely cannot call initWithNibName:...
as you hopefully will understand. Just put all the code which would have gone there in viewDidLoad
or stick with the solution mentioned by Vince
Upvotes: -1
Reputation:
Maybe initWithCoder:
is called. Is your controller instanciated via Nib ?
Upvotes: 9