CoreLocationUI provides CLLocationButton, a ready-made UI control that grants one-time location authorization when a person taps it. You add the button to your iOS or watchOS interface to request the user's location without first prompting for ongoing permission. Configure its appearance with CLLocationButtonIcon and CLLocationButtonLabel to present a system-standard icon and label that match the action you intend.
Location Button 1
The ready-made control that requests one-time location authorization when a person taps it.
- ClCLLocationButtoniOS 15.0+A button that grants one-time location authorization.
Button Appearance 2
Enumerations that configure the button's system-standard icon and label.
- EnCLLocationButtonIconiOS 15.0+Constants that specify styles for the location arrow icon on the button.
- EnCLLocationButtonLabeliOS 15.0+Constants that specify the text of the button label.
Structures 1
- StLocationButtonA SwiftUI button that grants one-time location authorization.
Type Aliases 26
- Ty__Float16x4_t
- Ty__Float16x8_t
- Ty__Float32x2_t
- Ty__Float32x4_t
- Ty__Float64x2_t
- Ty__Int16x4_t
- Ty__Int16x8_t
- Ty__Int32x2_t
- Ty__Int32x4_t
- Ty__Int64x2_t
- Ty__Int8x16_t
- Ty__Int8x8_t
- Ty__NSConstantString
- Ty__Poly16x4_t
- Ty__Poly16x8_t
- Ty__Poly64x2_t
Show 10 more
- Ty__Poly8x16_t
- Ty__Poly8x8_t
- Ty__Uint16x4_t
- Ty__Uint16x8_t
- Ty__Uint32x2_t
- Ty__Uint32x4_t
- Ty__Uint64x2_t
- Ty__Uint8x16_t
- Ty__Uint8x8_t
- Ty__builtin_ms_va_list