When application comes to foreground from background then appixationDidBecomeActive gets called. Now, I want to refresh the page from which the home button was tapped. In which method I can write the refresh code. viewWillAppear is not getting called.
When application comes to foreground from background then appixationDidBecomeActive gets called. Now, I want
Share
In this case
viewWillAppearnever gets called, you can fire notification(s) whenever-(void)applicationWillEnterForeground:(UIApplication *)applicationgets called and use it on the view you want.