0
我有一個需求,我需要在一起使用NSUSerActivity和Corespotlight。即使在設置relatedUniqueIdentifier = uniqueidentifer之後,我仍能看到重複的搜索結果。在聚光燈下重複搜索結果
這是我在我的項目中實施的步驟。
1)在appdeleagte didFinishLaunchingWithOptions方法中創建所有CSSearchableItems。
2)在特定的ViewController其中relatedUniqueIdentifier = uniqueidentifer(CSSearchableItem)
感謝您的幫助創建NSUSerActivity。