Reputation: 6166
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
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