ios - UILocalNotification 将在应用程序终止时工作

标签 ios notifications uilocalnotification

当应用程序终止时,UILocalNotification 会起作用吗?

如果有人使用 UILocalNotification 在应用程序终止时通知移动设备,我找不到详细的答案。

感谢您提供宝贵的信息。

最佳答案

是的,根据苹果文档,它肯定会起作用。

操作系统负责在预定时间发送本地通知;应用程序不必运行即可发生这种情况。

您可以引用 Apple Doc:- https://developer.apple.com/reference/uikit/uilocalnotification

关于ios - UILocalNotification 将在应用程序终止时工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39656563/

相关文章:

ios - ipad 和 iphone 的 MainWindow.xib

ios - 同一帐户下的 Quickblox 应用共享外部 ID?

ios - 在 anchor 上实际使用乘数可以吗?

Android 通知无法与 AlarmManager 一起正常工作

iphone - 如何增加重复本地通知的应用程序徽章编号 (iPhone)

ios - 在推送/本地通知的右侧显示自定义图像?

ios - Testflight Renew 循环问题

ios - 单击按钮时清除通知中心的通知

php - 使用ajax php mysql的用户通知/警报系统

ios - 创建 iOS 药丸提醒 : how to deal with UILocalNotification for specials repeat intervals?