Reputation: 346
there is a method called viewDidLoad that execute a code when the view is loaded is there a method that do the samething but each time the view is shown?
Upvotes: 1
Views: 197
Reputation:
Use viewWillAppear or viewDidAppear.
Upvotes: 9