开发者

Running method everytime I push the ViewController

What init metod is called everytime a viewcontroller is pushed to window?

-viewDidLoad and -initWithNibName work only开发者_开发知识库 1st time the view is started. But I want to do some startup checking in my vc everytime I start it.

Does such method exist? or do I have to declare it somehow manually?


Try view controller's viewWillAppear: method (if you want to setup one specific controller).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜