boom
boom

Reputation: 6166

check if phone is shutting down in iPhone

In Android there is a broadcast for SHUTTING_DOWN. Detect the device is shutting down?

In iOS is there any way to find out if the phone is shutting down?

Upvotes: 1

Views: 64

Answers (1)

Soberman
Soberman

Reputation: 2596

No, there is not such thing, because apps in iOS are all located in sandbox, meaning that they are isolated from the iOS like in a nutshell. You can only get info from the "outer world" through the AppDelegate methods, but the call you are looking for is not provided there, which is too system-specific.

Upvotes: 2

Related Questions