且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

计划后在后台播放警报音

更新时间:2023-10-27 12:08:04

您可以使用 UILocalNoti功能。应用将安排事件,即使应用未运行,也会由系统调度。

You can use UILocalNotification. App will schedule the event and it will be dispatched by the system even if app is not running.

https://developer.apple.com/library/ios/documentation/iPhone/Reference/UILocalNotification_Class/