Any Spotlight experts out there have any idea if it’s possible to enable the “Search in App” link and the play/pause button like the Apple Music app?

Best I can find for the first item is CoreSpotlightContinuation but I can’t even tell if that’s what I’m looking for the documentation is not very clear. 😭

#iosdev #swift

@ghalldev CoreSpotlightContinuation is how you can move from system Spotlight to in-app with the same query so you are right there! It requires a tweak to info.plist too iirc.

I *believe* the play button on the song is done via actionIdentifiers/CSActionIdentifier on CSSearchableItemAttributeSet which you set up in your info.plist (id, title, image) ahead of time (https://developer.apple.com/documentation/corespotlight/cssearchableitemattributeset/actionidentifiers)

actionIdentifiers | Apple Developer Documentation

The identifiers that specify custom actions the app supports for the item.

Apple Developer Documentation
@nemesisprime Thank you! I couldn’t find anything and I didn’t know what to search for 🤣
@ghalldev Best of luck! :D