import UIKit
import CoreSpotlight
import MobileCoreServices我把这个框架导入到了Xcode中,但我在下面输入的时候没有看到任何建议:
let item = CSSearchableItemAttributeSet(itemContentType: kUTType //here I have no suggests/list with suggestions.
item.title = listToDo[indexPath.item]["title"]
item.contentDescription = listToDo[indexPath.item]["state"]有人能告诉我为什么吗?(来自CoreSpotlight的建议也可以)
发布于 2015-11-14 21:20:08
有时Xcode会停止给出建议。清理build文件夹和/或重新启动通常可以解决问题。
https://stackoverflow.com/questions/33708818
复制相似问题