Use SF Symbols system image for static UIApplicationShortcutItem

后端 未结 3 847
灰色年华
灰色年华 2021-02-19 01:24

When specifying home screen quick actions, UIApplicationShortcutItems, in your Info.plist, is there a way to use a system image from SF Symbols?

The docs no

3条回答
  •  梦谈多话
    2021-02-19 02:03

    Use UIApplicationShortcutItemIconSymbolName instead of UIApplicationShortcutItemIconFile in your Info.plist.

提交回复
热议问题