How to calculate the current user location in Watch Kit extension as we can\'t use CoreLocation in watch kit.
Thanks in advance
The answer by Stephan should work (haven't tested it), with just one exception. WatchKit requires "Always" permission for the location manages. This is because your phone is really running the watch extension, in background mode. So if you only ask for "When in Use" permission, you will never get locations returned to your watch extension.
Try changing the line:
if (status == kCLAuthorizationStatusAuthorizedAlways || status == kCLAuthorizationStatusAuthorizedWhenInUse)
with:
if (status == kCLAuthorizationStatusAuthorizedAlways)