chris antonopoulos chris antonopoulos - 1 year ago 105
iOS Question

IOS Swift how reload viewcontroller when app come from background?

I want when user call app from background to reaload one function from viewcontroller?

Answer Source

You can register your controller for these notifications and reload your controller accordingly.

UIApplicationDidEnterBackgroundNotification
UIApplicationWillEnterForegroundNotification
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download