sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

Adapt ContactsPermission to iOS 18 #352

Closed EchoLunar closed 1 week ago

EchoLunar commented 2 weeks ago

After iOS 18, a new status limited was added to CNAuthorizationStatus - ‘This application is authorized to access some contact data.’ In the limited status, I tried using CNContactStore to fetch contact data, and it successfully retrieved the corresponding data selected by the user. Therefore, I believe this status should be treated as authorized.

ivanvorobei commented 1 week ago

You are right and thanks!