Create an App Intent to expose the app's search functionality to system capabilities.
- Siri:
We should be able to integrate the app's search with Siri. Asking Siri to search on Wikipedia should open the app with the search term on the search bar.
- Spotlight search:
When opening Spotlight and typing "Wikipedia", under "Top hit", we should get both the Wikipedia icon and a new "Search Wikipedia" action with the SFSymbol for magnifying glass.
Tapping the action should open the Search Tab.
Nice to have:
Typing a search term on Spotlight directly, we could have it return a Wikipedia result listed if we have a match (in case that is not automatically included when integrating the app intent"