Symbols: 100.0% of Apple's iOS API (26 of 26, exact) · Rows: 2: 2 ✅ · iOS: 15.0+
Area: Location, personal data & sensors · Apple: CoreLocationUI · Issues: area:location
- Approach: adapted.
CLLocationButtonis isim's control (isim/frameworks/CoreLocationUI), drawn like iOS's (the arrow and label in white on the tint colour, rounded). SwiftUI'sLocationButtonis in the overlay (isim/swift/overlays/CoreLocationUI). A tap grants when-in-use location authorization for the rest of the run, through Core Location, before the app's action runs. - Objective-C / C interface: headers in
isim/sdk-src/Frameworks/CoreLocationUI(the framework is Objective-C). - Versus Apple's Simulator: the same temporary authorization; iOS shows a one-time prompt the first time an app's button is tapped, isim grants it without one.
| API / feature | Status | iOS | Notes |
|---|---|---|---|
CLLocationButton (icon: CLLocationButtonIcon; label: CLLocationButtonLabel; fontSize; cornerRadius) |
✅ | 15.0 | adapted: a UIControl; touch-up-inside grants temporary when-in-use authorization (not remembered after the run), then sends the app's actions. Tested (HelloAccessories: test_location_button, per iOS version) |
LocationButton (init(action:), init(_:action:), LocationButton.Title) |
✅ | 15.0 | adapted: a SwiftUI button with the location arrow and the title; same authorization as CLLocationButton. Tested (HelloAccessories: test_location_button, per iOS version) |
Nothing (or not measured yet).