CNContactStore.currentHistory always nil on iOS 13,14 both Swift and ObjC

Hi, Im using the CNContactStore.currentHistory (available from iOS 13) to get token and check version of contacts. Everything is good til I try it on iOS 13 and iOS 14. Token is always nil from both ObjC and Swift.

Is it a bug? Or have any way to handle that instead?
Have any way to get token in iOS 13, 14?

Any help would be greatly appreciated. Thank you!

  • Sorry, that is CNContactStore.currentHistoryToken from Contacts framework. Not CNContactStore.currentHistory

Add a Comment