Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to refresh View after entering applicationWillEnterForeground? [duplicate]

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.

like image 314
iWizard Avatar asked Nov 09 '12 14:11

iWizard


1 Answers

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.

like image 158
Cyrille Avatar answered Oct 05 '22 07:10

Cyrille