Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save koriner/80fc3994ceebb9bf8736 to your computer and use it in GitHub Desktop.
Save koriner/80fc3994ceebb9bf8736 to your computer and use it in GitHub Desktop.
Example iOS app descriptor for static Force Touch shortcut items
<iPhone>
<InfoAdditions><![CDATA[
<key>UIDeviceFamily</key>
<array>
<string>1</string>
</array>
<key>UIApplicationShortcutItems</key>
<array>
<dict>
<key>UIApplicationShortcutItemIconFile</key>
<string>open-favorites</string>
<key>UIApplicationShortcutItemTitle</key>
<string>Static Shortcut 1</string>
<key>UIApplicationShortcutItemType</key>
<string>com.distriqt.test.static_shortcut_1</string>
<key>UIApplicationShortcutItemUserInfo</key>
<dict>
<key>key1</key>
<string>value1</string>
</dict>
</dict>
<dict>
<key>UIApplicationShortcutItemIconType</key>
<string>UIApplicationShortcutIconTypeCompose</string>
<key>UIApplicationShortcutItemTitle</key>
<string>Static Shortcut 2</string>
<key>UIApplicationShortcutItemType</key>
<string>com.distriqt.test.static_shortcut_2</string>
<key>UIApplicationShortcutItemUserInfo</key>
<dict>
<key>key2</key>
<string>value2</string>
</dict>
</dict>
</array>
]]></InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
<Entitlements>
<![CDATA[
]]>
</Entitlements>
</iPhone>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment