Home Screen Quick Action - Shortcut from old implementation persists

Hi.

I switched my app from the old (<2018) Home Screen static Quick Actions implementation to the new one using the Info.plist.

Old implementation:

    let shortcut1 = UIApplicationShortcutItem(
        type: ShortcutType.doStuff1.rawValue,
        localizedTitle: "title",
        localizedSubtitle: nil,
        icon: UIApplicationShortcutIcon(systemImageName: "moon"),
        userInfo: nil)
        
        application.shortcutItems = [shortcut1]

New implementation using Info.plist: https://developer.apple.com/documentation/uikit/menus_and_shortcuts/add_home_screen_quick_actions

Now ... the new shortcut items from the Info.plist appear correctly in the new app, however shortcut1 from the old version is also still there. The new code has no traces of the old code anymore!

  • Why is that?
  • How can I get rid of it without removing the app and reinstalling it (which would work)?

Thanks,

Home Screen Quick Action - Shortcut from old implementation persists
 
 
Q