How to refresh View after entering applicationWillEnterForeground?

ios, uiviewcontroller

Solution

Any class can register to `UIApplicationWillEnterForegroundNotification`, and react accordingly. It's not reserved to the app delegate, and helps for better separation of source code.

Problem

Possible Duplicate: How to tell when controller has resumed from background? How to refresh View after user enters applicationWillEnterForeground? I want to complete recall for example HomeViewController. I have and update function in HomeViewController and I want when user enters to call update function and reload table data.

Original source

Related problems