About AppShortcuts limit

I developed a shortcut feature for my app using the AppIntents framework, which can display a maximum of 10 shortcuts in the Shortcuts app. However, I've noticed that apps like Tesla and Porsche have a significantly larger number of shortcuts, far exceeding 10. After searching online, I found that they might be using Intent Extensions and the SiriKit framework. I customized an Intent through SiriKit, checked the option for "Intent is user-configurable in the Shortcuts app" and "Add to Siri." I can find this shortcut when I search for it, but it does not appear on the homepage or under the app category. Is there any way to resolve this?

Answered by Frameworks Engineer in 851794022
Accepted Answer

And to build on my colleagues answer above, the code of interest in that project is in TrailShortcuts.swift:

        AppShortcut(intent: GetTrailInfo(), phrases: [
            "Get \(\.$trail) conditions with \(.applicationName)",
            "Get conditions on \(\.$trail) with \(.applicationName)"
        ],
        shortTitle: "Get Conditions",
        systemImageName: "cloud.rainbow.half",
        parameterPresentation: ParameterPresentation(
            for: \.$trail,
            summary: Summary("Get \(\.$trail) conditions"),
            optionsCollections: {
                OptionsCollection(TrailEntityQuery(), title: "Favorite Trails", systemImageName: "cloud.rainbow.half")
            }
        ))

— Ed Ford,  DTS Engineer

Thank you very much. I will check this part of the code. Meanwhile, I want to ask, if I use SiriKit, it won't be possible to have my shortcuts appear in the Shortcuts app home page, right? look forward for you reply.

SiriKit intents that people specifically add to Siri are visible there in iOS 18, but they are not visible unless users add them, such as through an Add to Siri button in the app. In general, if you're writing brand new custom intents, you should use App Intents instead of SiriKit for that implementation.

— Ed Ford,  DTS Engineer

About AppShortcuts limit
 
 
Q