How can I start the alarm in iOS if the application is closed?

I downloaded some Alarm Clock applications from the App Store and found that they can continue to play sound and even vibrate the phone for more than 30 seconds (restrictions from UILocalNotifications). I even forced to close the application, and it still works!

I wonder how this is possible? Is there any other method than UILocalNotification? Do they use multiple notifications?

Thank!

+5
source share
3 answers

They can use Push Notifications, but this will require an external server, the Internet and hardly.

, UILocalNotifications. , , . , . Apple UILocalNotification.

: , 30 .., . , , 30 .

+3

, UILocalNotification, , , .

+4

They can be audio applications that support the background (using UIBackgroundModes in the application area) and play silent using audio queues or the RemoteIO Audio Unit, even in the background, until the time is mixed with some audio signals or music .

+1
source

All Articles