How do I know if the ViewController is visible again?
I tried putting the print command inside viewDidAppear. Run the app. Press the home button. Return to the app but viewDidAppera dont get executed.
i am trying to execute a code right after the app becomes visible again.
How do I do that?
 
    