Detecting App coming back from the background (updated)

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
simon.schvartzman
Posts: 641
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Detecting App coming back from the background (updated)

Post by simon.schvartzman » 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.
Simon
________________________________________
To ";" or not to ";" that is the question

Post Reply

Return to “iOS Deployment”