每14天(每两周一次)触发一次UILocalNotification

问题描述问题已经在SO上得到了回答。这是参考:ThequestionhasbeenalreadyansweredonSO.Hereisthereference:iOS通知触发器:每两周和/或每季度但是到目前为止,我一直在尝试:ButwhatIhavetriedissofar:va

发布:2022-10-16 标签:calendarswift3uilocalnotificationunnotificationrequestunnotificationtrigger


iOS 10通知内容扩展未加载

问题描述我有一个玩推式通知的准应用程序.我有NotificationServiceExtension正常工作.我可以发送带有图像URL的远程通知并加载它.Ihaveabare-bonesapptoplaywithpushnotifications.IhavetheNotifica

发布:2022-10-16 标签:apple-push-notificationsswiftpush-notificationios10unnotificationrequest


xcode 8推送通知功能和权利文件设置

问题描述使用xcode8进行推送通知设置时,与xcode7不同,xcode8需要开发人员打开推送通知功能开关(如下图位于TARGETS->AppName->Capabilities),whenusingxcode8doingthepushnotificationsetting,u

发布:2022-10-16 标签:push-notificationios10xcode8xcode8-beta6unnotificationrequest


如何检查我的applicationIconBadgeNumber值?

问题描述我希望我的redDot显示我在徽章中有一些价值,即UIApplication.shared.applicationIconBadgeNumber这个是我写的代码,但似乎不起作用:IwantmyredDottodisplaywhenIhavesomevalueinbadge

发布:2022-09-21 标签:iosxcodeswiftunnotificationrequest


iOS 10如何为远程通知设置UNotificationContent threadIdentifier

问题描述TL;DR:需要在APNs通知有效负载JSON中设置哪个密钥才能对应threadIdentifier属性$c>UNNotificationContent对象?例如category键对应于categoryIdentifier属性。TL;DR:Whatkeyneedstobe

发布:2022-09-21 标签:iosapple-push-notificationsunnotificationrequest


UNUserNotificationCenter removeAllDeliveredNotifications在ios 11.2中不起作用

问题描述我有一个包含多个本地通知的应用。当我尝试清除所有已发送的通知时,我称之为removeAllDeliveredNotifications方法。它工作正常,直到ios11.1。在ios11.2及更高版本中,它无法按预期工作。通知仍保留在通知中心。有人可以帮我解决这个问题。Ih

发布:2022-09-21 标签:iosuilocalnotificationunnotificationrequest


如何在iOS 10 UserNotifications上设置NSCalendarUnitMinute repeatInterval?

问题描述在UILocalNotification中,我们使用NSCalendarUnitMinute重复.....但我在iOS10中找不到UserNotificationdoc...如何使用NSCalendarUnitMinute像iOS10中的重复UserNotificatio

发布:2022-09-21 标签:iosobjective-cswiftios10unnotificationrequest


当应用在后台时的Firebase监听器

问题描述我的应用程序中的通知表的FirebasechildAdded事件侦听器,我希望在应用程序处于后台时触发推送通知。以下是监听器:$b$p$b$funcobserveNotificationsChildAddedBackground{self.notificationsBac

发布:2022-09-21 标签:iosfirebaseswiftfirebase-cloud-messagingunnotificationrequest