You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public func locationServicesEnabled() -> Bool {
CLLocationManager.locationServicesEnabled()
}
...Xcode produce warning: This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the-locationManagerDidChangeAuthorization:callback and checkingauthorizationStatus` first.
The text was updated successfully, but these errors were encountered:
Platform Version
17.0-17.4
SDK Version
6.0.0
Xcode Version
15.3
Steps To Reproduce
On init of Location: Location() Xcode produce a warning. Even without accessing any properties of Location object or calling any functions.
Expected Behavior
No warnings)
Actual Incorrect Behavior
`extension CLLocationManager: LocationManagerProtocol {
...
Xcode produce warning: This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the
-locationManagerDidChangeAuthorization:callback and checking
authorizationStatus` first.The text was updated successfully, but these errors were encountered: