Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated API - CLLocationManager.authorizationStatus() #27

Merged
merged 3 commits into from
May 30, 2022

Conversation

rhysm94
Copy link
Contributor

@rhysm94 rhysm94 commented Mar 23, 2022

Calling CLLocationManager.authorizationStatus() is deprecated in iOS 14, tvOS 14, watchOS 7, and macOS 11.
Instead, this has been replaced with a call to the authorizationStatus instance variable.

(I copied the compiler guard from other #if available(iOS 14... instances, as I assume there's some Xcode bug?)

rhysm94 added 3 commits March 23, 2022 15:01
…14, tvOS 14, watchOS 7, and macOS 11.

Instead, this has been replaced with a call to the `authorizationStatus` instance variable.
Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Sorry for the delay!

@stephencelis stephencelis merged commit 5e2a5a0 into pointfreeco:main May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants