Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
iOS 10 通知内容扩展未加载
我有一个简单的应用程序来处理推送通知 我的通知服务扩展正在运行 我可以发送带有图像 URL 的远程通知并加载它 我似乎无法让通知内容扩展正常工作 我已经看过多个教程 他们都说 只需从目标菜单创建一个通知内容扩展 然后在通知内容扩展 Info
每 14 天(每两周)触发一次 UILocalNotification Swift
这个问题已经在SO上得到了回答 这是参考 iOS 通知触发 每两周和 或每季度 https stackoverflow com questions 41441124 ios notification trigger fortnightly
在应用程序设置页面中更改通知的用户权限时更新 UILabel 文本值?
在我的场景中 用户将收到在应用程序中接收通知的警报 如果用户单击 不允许 UILabel 将更新为 未启用 如果用户想要更改通知 用户将被导航到应用程序设置页面以更改通知权限状态 func checkNotificationPermissi
ios
swift
swift3
UILabel
unnotificationrequest
取消 UNNotificationRequest
Because UILocalNotification现已弃用 我将代码移至新版本UNNotificationRequest API 它指出 取消本地通知 在 iOS 10 0 中已弃用 使用 UserNotifications Frame
ios
swift
unnotificationrequest
通知:本地通知的自定义声音在 iOS10 中不播放
我正在发出本地通知 自从UILocalNotification类在 iOS 10 中已弃用 我已经使用过UserNotifications framework 当我尝试设置通知的自定义声音时 默认声音始终播放 这是我的代码 IBAction
ios
unnotificationrequest
iOS 10 如何设置 UNotificationContent threadIdentifier 进行远程通知
TL DR 需要在 APNs 通知负载 JSON 中设置什么键来对应threadIdentifier的财产UNNotificationContent目的 例如这 category 键对应于categoryIdentifier财产 iOS 1
ios
applepushnotifications
unnotificationrequest
如何检查我的 applicationIconBadgeNumber 值?
我想要我的redDot当我的徽章有一定价值时显示 即UIApplication shared applicationIconBadgeNumber这是我写的代码 但似乎不起作用 import UserNotifications IBOutl
ios
swift
xcode
unnotificationrequest
在 iOS 15 之前,我只能发送声音本地通知,现在我必须显示横幅
这在 iOS 15 之前运行良好 let center UNUserNotificationCenter current let content UNMutableNotificationContent content sound UNNo
ios
Notifications
ios15
unnotificationrequest
如何在 Swift 中取消本地通知触发器
我有一个触发器向用户显示通知 let content UNMutableNotificationContent content title Title content body Body content sound UNNotificati
swift
unusernotificationcenter
unnotificationrequest