I have 5 items defined in my plist. It only showed 4. ♂️
I've tried in Simulator
and the actual iPhone XS Max
.
<array>
<dict>
<key>UIApplicationShortcutItemIconFile</key>
<string>home</string>
<key>UIApplicationShortcutItemTitle</key>
<string>Home</string>
<key>UIApplicationShortcutItemType</key>
<string>homePressed</string>
</dict>
<dict>
<key>UIApplicationShortcutItemIconFile</key>
<string>security</string>
<key>UIApplicationShortcutItemTitle</key>
<string>Security</string>
<key>UIApplicationShortcutItemType</key>
<string>securityPressed</string>
</dict>
<dict>
<key>UIApplicationShortcutItemIconFile</key>
<string>alert</string>
<key>UIApplicationShortcutItemTitle</key>
<string>Alert</string>
<key>UIApplicationShortcutItemType</key>
<string>alertPressed</string>
</dict>
<dict>
<key>UIApplicationShortcutItemIconFile</key>
<string>network</string>
<key>UIApplicationShortcutItemTitle</key>
<string>Network</string>
<key>UIApplicationShortcutItemType</key>
<string>networkPressed</string>
</dict>
<dict>
<key>UIApplicationShortcutItemIconFile</key>
<string>settings</string>
<key>UIApplicationShortcutItemTitle</key>
<string>Settings</string>
<key>UIApplicationShortcutItemType</key>
<string>settingsPressed</string>
</dict>
</array>
Result
Am I doing anything wrong ?