Is there any case that iOS will launch app (appDelegate didFinishLaunchingWithOptions) even though the phone is locked?

Hi, my company experiencing anomaly spike request that coming from iOS platform in the midnight, the request is coming from the first View controller when opening the app.

This anomaly doesn't have any pattern, and we are doing some experiment that the developer will not open the app on the midnight (11PM - 6AM JKT time/GMT+7), but when the anomaly happen, I can see the log that their account was requesting the data to our backend service.

One of my hunch is Push notification arrive [does this triggering the didFinishLaunchingWithOptions?], and why this only happen on midnight, my app sent push notification regularly and clearly not in the midnight time.

Is there any other circumstances that iOS launch the application?

Thanks in advance.

Is there any other circumstances that iOS launch the application?

Absolutely. There are many circumstances under which iOS will resume (or relaunch) your app in the background while the device is locked. This includes ‘silent’ push notifications, but that’s just one item on a long long.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Is there any case that iOS will launch app (appDelegate didFinishLaunchingWithOptions) even though the phone is locked?
 
 
Q