Wednesday, September 10, 2025
HomeiOS Developmentios - How do I take advantage of Core Location in Apple...

ios – How do I take advantage of Core Location in Apple Watch preview canvas?


Xcode 16, bare-bones watch-only mission, default settings. Made certain NSLocationWhenInUseUsageDescription is current in Data.plist. Requesting with requestWhenInUseAuthorization. Works utterly positive within the standalone simulator, however not within the preview canvas. Most apparently, I do hear an alert ding, however the alert is not proven.

I am new to Xcode, is that this anticipated? That system alerts get swallowed in previews? Whether it is, is there a option to pre-approve location utilization, perhaps by way of simctl?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments