Post

Replies

Boosts

Views

Activity

Can't read user location from widgets in a macOS Catalyst app
NSWidgetWantsLocation in the widget extension is set to true All location usage descriptions are set After I grant user location access on the main app, if I try to add a location-aware widget in Notification Center I never get asked for widget location usage. Doing the same steps on iOS works as expected. During the execution of the widget extension, CLLocationManagerDelegate's didUpdateLocations method never gets called. I just receive a didChangeAuthorization with the authorized status. What am I doing wrong? Are location aware widgets even a thing on macOS?
1
0
629
Jan ’21