gpt4 book ai didi

ios - UILocalNotification 会在 iOS 10 上崩溃吗

转载 作者:可可西里 更新时间:2023-11-01 00:22:39 26 4
gpt4 key购买 nike

这是电流 UILocalNotification class这是 iOS 10 UserNotification哪个苹果刚刚在 wwdc 16 上宣布。

使用 UILocalNotification 的旧应用会在 iOS 10 上崩溃吗?

最佳答案

创建 UILocalNotification 对象不会导致 iOS 10 设备崩溃(我刚刚在 Xcode 8 beta 上尝试过)。 Xcode 会警告您 UILocalNotification 从 iOS 10 开始被弃用,应该使用 UserNotifications 模块中的 UNNotificationRequest。如果您的目标是 iOS 10 及更高版本,强烈建议您迁移代码以使用 UNNotificationRequest

关于ios - UILocalNotification 会在 iOS 10 上崩溃吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37803828/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com