My app keep deny the access to contacts iOS - Swift
问题 I have a view when it get loaded it will check first the permission to access the contacts if it's Authorized, NotDetermined or Denied .. the code at first time will go with NotDetermined so it will call function to ask for access .. the problem is here in this function : private func requestContactsAccess() { //store = CNContactStore() store.requestAccessForEntityType(.Contacts) {granted, error in if granted { dispatch_async(dispatch_get_main_queue()) { self.accessGrantedForContacts() return