Is there a limit to how many UIApplicationShortcutItems you can have?

前端 未结 1 1186
小鲜肉
小鲜肉 2021-01-17 13:26

I want to add the new 3D/Force Touch feature (UIApplicationShortcutItem) to my app but I was wondering whether there is or isn\'t a limit to how many you can have on a singl

相关标签:
1条回答
  • 2021-01-17 14:11

    iOS 9 displays up to four Home screen quick actions for your app. Within this limit, the system shows your static quick actions first, starting at the topmost position in the menu. If your static items do not exhaust the limit and you have also defined dynamic quick actions, then one or more of your dynamic quick actions is displayed.

    You can refer to the Apple’s sample project .

    Apple Docs

    0 讨论(0)
提交回复
热议问题