I’ve been exploring Core Spotlight APIs for showing content in Spotlight search and experimenting with using the same search index to power search inside the app. I wrote a detailed post on how to implement this in a SwiftUI app: nilcoalescing.com/blog/CoreSpo...
#iOSDev #SwiftLang #SwiftUI
nilcoalescing.com
Core Spotlight integration for Spotlight and internal app search
Use a shared Core Spotlight search index to make content discoverable in system Spotlight and support internal search within the app.