I have a viewcontroller that needs to be reloaded when the app comes out of the background. I would just need this single viewcontroller to completely reload. I dont need to do anything If the app becomes active on any of the other viewcontrollers. Any ideas?
Share
Have the view controller register for the
UIApplicationWillEnterForegroundNotificationnotification or perhaps theUIApplicationDidBecomeActiveNotification.In
viewDidLoadyou can do:In
deallocyou need to unregister:And you need to implement the
foregroundedmethod: