I just upgraded to Xcode 14.0 and when I run our app on iOS 16 devices, calls to:
CLLocationManager.locationServicesEnabled()
Are returning the warning:
This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first.
I'd need to make significant changes to my code if I have to wait for a failure/callback rather than just calling the CLLocationManager.locationServicesEnabled() method directly.  This only seems to happen on iOS 16 devices.  Any suggests on how to address this?
 
     
     
    