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?)
Calling
CLLocationManager.authorizationStatus()
is deprecated in iOS 14, tvOS 14, watchOS 7, and macOS 11. Instead, this has been replaced with a call to theauthorizationStatus
instance variable.(I copied the compiler guard from other
#if available(iOS 14...
instances, as I assume there's some Xcode bug?)