【发布时间】:2017-01-14 04:18:43
【问题描述】:
根据文档UIUserNotificationActionContext 已在iOS 10 上弃用,根据弃用消息我们应该Use UserNotifications Framework's -[UNNotificationCategory actions] or -[UNNotificationCategory minimalActions]
问题是minimalActions 不作为UNNotificationCategory 中的属性存在,根据documentation 和头文件(有趣的是,相关页面记录minimalActions exists 没有被任何链接别的)。那么问题来了,如何在 iOS 10 beta 8 中设置最小操作?我在这里错过了什么?
【问题讨论】:
标签: notifications ios10 xcode8 swift2.3