Post

Replies

Boosts

Views

Activity

ProtectionClass in CSSearchableIndex has no effect
Initializing CSSearchableIndex with the protection class has no effect. I tried to use FileProtectionType.none as the protection class for my index which should mean theres no file protection at all. However, the Spotlight results would only show up if the device was unlocked. swift let index = CSSearchableIndex(name: "c1", protectionClass: FileProtectionType.none) index.indexSearchableItems(items)
0
0
476
May ’21