0
import UIKit
import CoreSpotlight
import MobileCoreServices
我進口這個框架,Xcode中後,但我沒有看到一個提示,打字時就在這一瞬間波紋管:沒有建議在Xcode進口MobileCoreServices
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的建議是好的)