HomeTechiOS App Woken into Background from Termination, then Launched into Foreground by...

iOS App Woken into Background from Termination, then Launched into Foreground by User

[ad_1]

imagine an app uses background Bluetooth services and gets woken into the background from the terminated state. now while it’s running in the background then…

Situation 1: the user taps a message notification to launch the app into the foreground.

does iOS call willFinishLaunchingWithOptions:? it must, otherwise there’s no way to deliver the UIApplicationLaunchOptionsRemoteNotificationKey to the application. but does this involve terminating the running backgrounded app and then restarting it? or calling this method on an already running app?

Situation 2: the user taps the app icon to launch the app into foreground

i could imagine iOS just calling applicationWillEnterForeground here. but maybe it terminates and reboots the app?


[ad_2]

Source link

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments

%d bloggers like this: