Im having trouble requesting access to save a new contact as of today with updating to Ventura 13.0 (22A380).
Im requesting access to contacts using
@IBAction func requestConactsAccess() {
CNContactStore().requestAccess(for: .contacts) { granted, error in
if granted {
// Yes
print("Granted")
self.authStatusLabel.text = "Granted"
} else {
// No
print("Denied")
self.authStatusLabel.text = "denied"
}
}
}
But it is just being automatically denied. I can't save a contact either with an app that previously had permission. I created a small app to test this from scratch using the documentation "Working with the user’s contacts" https://developer.apple.com/documentation/contacts?language=objc
I have been doing this since the first version of the app, Ive never had an issue Has something changed with regards to Requesting access to contacts in latest OS? https://developer.apple.com/documentation/contacts/requesting_authorization_to_access_contacts
Thank you.