Notifications iOS10中的未通知类别和最小操作

Notifications iOS10中的未通知类别和最小操作,notifications,ios10,xcode8,swift2.3,Notifications,Ios10,Xcode8,Swift2.3,根据文档UIUserNotificationActionContext在iOS 10上已被弃用,根据弃用消息,我们应该使用UserNotifications框架的-[UNNotificationCategory actions]或-[UNNotificationCategory MinimaActions] 问题是根据和头文件,minimactions在UNNotificationCategory中不作为属性存在(有趣的是,记录minimactions的相关页面没有任何其他链接)。所以问题是,如

根据文档
UIUserNotificationActionContext
在iOS 10上已被弃用,根据弃用消息,我们应该
使用UserNotifications框架的-[UNNotificationCategory actions]或-[UNNotificationCategory MinimaActions]


问题是根据和头文件,
minimactions
UNNotificationCategory
中不作为属性存在(有趣的是,记录
minimactions
的相关页面没有任何其他链接)。所以问题是,如何在iOS 10 beta 8中设置最小操作?我在这里遗漏了什么?

早期beta中存在
UNNotificationCategory
MinimaActions
属性,但恐怕它在Xcode 8 beta 3中被删除了,这解释了为什么不再有链接到该
MinimaActions
页面的内容。相反,设置常规的
操作
属性,iOS将根据上下文最多显示四个或前两个。

非常感谢您的澄清。不幸的是,设置
操作
属性在
最小
上下文下似乎没有任何效果。显示的唯一操作是默认的“清除”。