开发者

init and initWithNibName are not called but viewDidLoad is called

init a开发者_开发问答nd initWithNibName are not called at all but viewDidLoad is called. Any thought?


Maybe initWithCoder: is called. Is your controller instanciated via Nib ?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜