Upvote:2

Aprove answer

If you have set a reuse identifier to your controllers in your storyboard, you can call : [self.storyboard instantiateViewControllerWithIdentifier:@"Name"]

Upvote:2

Use -viewWillAppear that is the purpose of it

-initWithFrame:

If you use Interface Builder to design your interface, this method is not called when your view objects are subsequently loaded from the nib file. Objects in a nib file are reconstituted and then initialized using their initWithCoder: method, which modifies the attributes of the view to match the attributes stored in the nib file.

More Answer related to the Same Query

Upvote:0

from the method in your appdelegate

  • (void)applicationWillEnterForeground:(UIApplication *)application

call the viewdidload of your controller

as this method of appdelegate is called whenever your app comes from background to foreground


Credit Goes to: stackoverflow.com

Related question with same questions but different answers