问题描述
我正在尝试在3dtouch可用的iOS 10中实现新的快速菜单小部件".我的应用程序具有多个今日扩展名和Apple准则报告
i'm trying to implement new "quick menu widget" in iOS 10 available with 3dtouch.My app has multiple today extension and apple guidelines report
我不知道该在哪里改变"!
I don't understand where i can "change" that!
只有一个小部件也可以正常工作.
With only one widget all works as well.
推荐答案
有一个新的Info.plist键 UIApplicationShortcutWidget
,您需要将其设置为小部件的包标识符.
There is a new Info.plist key UIApplicationShortcutWidget
which you need to set to the bundle identifier of your widget.
See the documentation at: https://developer.apple.com/library/prerelease/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW32
这篇关于3D Touch快捷方式小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!