All technologies and topics related to iOS Search API, that is: NSUserActivity, CoreSpotlight, Web Markup
Questions tagged [ios-searchapi]
16 questions
7
votes
2 answers
Which properties should be used with CSSearchableItemAttributeSet on NSUserActivity?
I added Web Markup to my website so items will appear in Spotlight Search results when users search in iOS 9. Users can browse the same items in the app, therefore I want to create NSUserActivity objects that link to the web content as users browse…

Jordan H
- 52,571
- 37
- 201
- 351
6
votes
0 answers
CSSearchableItemAttributeSet contentType for search results
I'm building an app that uses CSSearchableItemAttributeSet with NSUserActivity in order to add items to the Spotlight Search index. The items I'm indexing are emojis, which consist of the emoji character itself, a description, and an image that…

Jordan H
- 52,571
- 37
- 201
- 351
5
votes
1 answer
NSUserActivity Not Getting Indexed by Spotlight
I'm trying to get my NSUserActivity to be indexed by the private index in Spotlight in iOS. I have followed all the steps in Apple's Index Activities and Navigation Points guide but my activity doesn't seem to be getting indexed by spotlight at…

Andy Ibanez
- 12,104
- 9
- 65
- 100
5
votes
2 answers
Core Spotlight Userinfo is always empty
I am using a combination of CoreSpotlight api and NSUserActivity api to index app content. Everything goes well until I tap a search result. The userInfo passed with userActivity in continueUserActivity method contains only one item i.e…

Rajesh
- 61
- 5
4
votes
0 answers
How to test iOS 9 Search API indexing with Web Markup?
I know, there is App Search API Validation Tool which can tell you "Yeah, yeah, it's all good with your content and your users will be able to discover it if it will become popular and bla bla bla...", but is there any flag/setting/sandbox mode…

Maciek Czarnik
- 5,950
- 2
- 37
- 50
3
votes
1 answer
iOS 9 Search Api - Is it required that using web markup api for public indexing?
I understand from the iOS9 Search API WWDC video, using NSUserActivity with public indexing enabled can make that activity globally available if it exceeds some threshold. I wonder that is it possible to show any indexed user activity data at core…

crazywood
- 1,455
- 1
- 10
- 17
3
votes
1 answer
The apple-app-site-association file was found but it doesn’t follow the required format
I'm using this API Validation Tool from Apple and I got 6 of 7 validation PASSED in a specific page but "Universal Links" test got this message:
"The apple-app-site-association file was found but it doesn’t follow the required format.
Learn how to…

Beto
- 3,438
- 5
- 30
- 37
2
votes
0 answers
How do I know if Applebot started indexing my site?
We've implemented everything apple requires for making our site's content available in Spotlight and Safari search results:
web markup
universal links
entitlements + associations
But the site still won't appear in spotlight or safari search.
Is…

Julia Vi
- 113
- 1
- 9
2
votes
0 answers
Search API to have priority for CSSearchableItemAttributeSet
I can create CSSearchableItemAttributeSet like this.
And for example, if I search SQ2,
my result are like this.
SQ212
SQ222
SQ214
Is it possible to give priority to SQ214 when user search SQ2 (i.e Show SQ214 first)?
When I index…

Khant Thu Linn
- 5,905
- 7
- 52
- 120
2
votes
1 answer
title and displayName properties on CSSearchableItemAttributeSet
I'm building an app that uses CSSearchableItemAttributeSet with NSUserActivity in order to add items to the Spotlight Search index. The items I'm indexing are emojis, which consist of the emoji character itself, a description, and an image that…

Jordan H
- 52,571
- 37
- 201
- 351
1
vote
2 answers
How to detect UI text input effectively to call google places API for suggestions?
what is the best way to detect user input in a UItextfield to call places API for suggestions as user type ? Currently how i did is, after 3 letters i call the places API for every single letter input. But if user types 4 to 5 letters very fast app…

Soumya Sahu
- 113
- 8
1
vote
1 answer
Using Search API, can I get the list of installed apps on iOS?
Last year, Apple released Search API.
*https://developer.apple.com/videos/play/wwdc2015-709/
Before this, it was impossible to get the list of installed apps on iOS.(is it right?)
If I use this Search API, can I get the list of installed apps on…

Naoya Fujita
- 69
- 1
- 5
1
vote
0 answers
Writing Spotlight Search extension in iOS 9
My app shows nearby restuarants based on users current location. On launch of the app, I'm getting the restaurants based on current location and indexing them using the CoreSpotlight APIs. This works well.
Since the user location keeps changing, I…

Praveen Castelino
- 69
- 7
1
vote
1 answer
iOS NUserActivity & CSSearchableItemAttributeSet ratings attribute
I'm using the search api in iOS with NSUserActivity and Core Spotlight indexing - I've got it all working fine apart from I can't get the ratings for my item to display on the search results?
I've set my CSSearchableItemAttributeSet with the type…

user5465987
- 31
- 3
1
vote
2 answers
CSSearchableItemAttributeSet doesn't show phone number
I am doing for search api in ios 9. I can show for title and desc. However, I can't do for phone number. Will it show as call button , right? But, so far, I only see title and desc. How shall I do?
CSSearchableItemAttributeSet * attributeSet =…

Khant Thu Linn
- 5,905
- 7
- 52
- 120