【发布时间】:2016-10-15 10:23:57
【问题描述】:
我正在努力实现以下目标。在交付计划的本地通知时,应启动后台任务来处理应用程序数据,这样用户就无需点击通知或将应用程序置于前台。我支持 iOS 9+
这是可能的,如果,怎么做? AFAIK 如果应用程序处于后台或非活动状态,则在 AppDelegate 或 UNUserNotificationCenterDelegate 中传递本地通知时不会触发任何事件。
【问题讨论】:
标签: ios swift3 uilocalnotification usernotifications unusernotificationcenter