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
加载中,请稍侯......
精彩评论