Hi,
I'm developing an app which opens other apps which contain different screens that are closed at some point. I need to know when one of the apps is closed to start the second one. I was thinking on a system that opened the first app and then waited until it was closed. The way I was thinking it would detect it is that when the screen closes it would retourn to the project's main screen again, and so once the primary screen was visible to the user, open the next app. I was wondering if someone knew how to detect if the main screen was the visible screen.