Reputation: 3305
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?
Upvotes: 1
Views: 51
Reputation: 170829
Try view controller's viewWillAppear:
method (if you want to setup one specific controller).
Upvotes: 4