TechnologiesMaps & Location

_CoreLocationUI_SwiftUI cross-import overlay

iOSmacOStvOSwatchOSvisionOS

A cross-import overlay that bridges CoreLocationUI and SwiftUI, providing the integration that lets you use a LocationButton directly in a SwiftUI view hierarchy on iOS and watchOS. The button requests one-time location authorization when the user taps it, so you can obtain a single location reading without prompting for ongoing access. It declares no public types of its own; its APIs become available when you import both CoreLocationUI and SwiftUI.

Structures 1

  • St
    LocationButton
    A SwiftUI button that grants one-time location authorization.
← Maps & Location