Detecting App coming back from the background (updated)
Posted: Wed Aug 28, 2019 5:28 pm
Hi iOS developers, I would like to show a splash screen during the initialisation process (to let the user know the App is busy loading stuff) when it is run from scratch but not when it is coming back to the front screen after it was sent to the background.
Searching the forum I found this post https://forums.livecode.com/viewtopic.p ... fy#p155829 according to which mergNotify & UIApplicationDidBecomeActiveNotification should help to do what I want but I can't make it work and I wonder if there is some trick involved or other ways to accomplish the same goal.
Many thanks in advance
UPDATE: mergNotify wasn't working because I was testing on the simulator. When running on an actual device it does work.
Searching the forum I found this post https://forums.livecode.com/viewtopic.p ... fy#p155829 according to which mergNotify & UIApplicationDidBecomeActiveNotification should help to do what I want but I can't make it work and I wonder if there is some trick involved or other ways to accomplish the same goal.
Many thanks in advance
UPDATE: mergNotify wasn't working because I was testing on the simulator. When running on an actual device it does work.