chris antonopoulos chris antonopoulos - 6 months ago 30
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

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

UIApplicationDidEnterBackgroundNotification
UIApplicationWillEnterForegroundNotification