---
title: CoreLocationUI
framework: Core Location UI
role: collection
role_heading: Framework
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, watchOS 10.0+]
path: corelocationui
---

# CoreLocationUI

Streamline access to users’ location data through a standard, secure UI.

## Overview

Overview The CoreLocationUI framework contains a standardized UI that interacts securely with Core Location to request authorization to access location data. CoreLocationUI provides LocationButton for SwiftUI apps and CLLocationButton for UIKit apps. Add these buttons to your UI when you want someone to grant one-time authorization for your app to fetch their location. The button’s style is consistent with the standard Core Location design language, giving users a sense of familiarity and trust when they interact with it. note: The location button ignores user input on Mac apps built with Mac Catalyst, and on compatible iPad and iPhone apps running in visionOS.

## Topics

### Location authorization

- [Sharing Your Location to Find a Park](corelocationui/sharing-your-location-to-find-a-park.md)
- [LocationButton](corelocationui/locationbutton.md)
- [CLLocationButton](corelocationui/cllocationbutton.md)

### Button customization

- [CLLocationButtonIcon](corelocationui/cllocationbuttonicon.md)
- [CLLocationButtonLabel](corelocationui/cllocationbuttonlabel.md)
