# Privacy

Source: https://developer.apple.com/design/human-interface-guidelines/privacy
Skill: hig-foundations
Snapshot: 2025-02-02

---
<!-- hig-doctor:attribution -->
> **Source**: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/privacy.
> This file is a structured index of that content, snapshot 2025-02-02.
> Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.

# Privacy

## Best practices

**Request access only to data that you actually need.**

**Be transparent about how your app collects and uses people’s data.**

**Process data on the device where possible.**

**Adopt system-defined privacy protections and follow security best practices.**

## Requesting permission

  * Personal data, including location, health, financial, contact, and other personally identifying information

  * User-generated content like emails, messages, calendar data, contacts, gameplay information, Apple Music activity, HomeKit data, and audio, video, and photo content

  * Protected resources like Bluetooth peripherals, home automation features, Wi-Fi connections, and local networks

  * Device capabilities like camera and microphone

  * In a visionOS app running in a Full Space, ARKit data, such as hand tracking, plane estimation, image anchoring, and world tracking

  * The device’s advertising identifier, which supports app tracking

**Request permission only when your app clearly needs access to the data or resource.**

**Avoid requesting permission at launch unless the data or resource is required for your app to function.**

**Write copy that clearly describes how your app uses the ability, data, or resource you’re requesting.**

  * Example 1 
  * Example 2 
  * Example 3 

### Pre-alert screens, windows, or views

**Include only one button and make it clear that it opens the system alert.**

**Don’t include additional actions in your custom screen or window.**

### Tracking requests

**Never precede the system-provided alert with a custom screen or window that could confuse or mislead people.**

  * Incentive 
  * Imitation request 
  * Alert image 
  * Alert annotation 

## Location button

**Consider using the location button to give people a lightweight way to share their location for specific app features.**

**Consider customizing the location button to harmonize with your UI.**

  * Choose the system-provided title that works best with your feature, such as “Current Location” or “Share My Current Location.”

  * Choose the filled or outlined location glyph.

  * Select a background color and a color for the title and glyph.

  * Adjust the button’s corner radius.

## Protecting data

**Avoid relying solely on passwords for authentication.**

**Store sensitive information in a keychain.**

**Never store passwords or other secure content in plain-text files.**

**Avoid inventing custom authentication schemes.**

## Platform considerations

### macOS

**Sign your app with a valid Developer ID.**

**Protect people’s data with app sandboxing.**

**Avoid making assumptions about who is signed in.**

---

<!-- hig-doctor:canonical-footer -->
For the complete guidance, including worked examples and illustrations, see the canonical page: https://developer.apple.com/design/human-interface-guidelines/privacy

