# jevonmao/PermissionsSwiftUI

A SwiftUI package to beautifully display and handle permissions.

Repository: https://github.com/jevonmao/PermissionsSwiftUI
Canonical: https://ross.abutalabs.com/products/permissionsswiftui
Homepage: https://jevonmao.github.io/PermissionsSwiftUI/
Language: Swift
License: MIT
License Family: permissive
Topics: swiftui, swiftui-learning, learn-swift, swift, ios, macos, ios-swift, package, swiftpackage, library, ui-design, ux, github, programming, coding, developer
Last push: 2024-04-06T10:15:25+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2041, "days_push": 879, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1570, forks 91 (observed 2026-08-28T04:05:05.377744+00:00)

## What it is
PermissionsSwiftUI is a Swift package that displays and handles system permissions in SwiftUI apps with a customizable, Apple-style modal UI. It supports requesting and tracking authorization for many permission types across iOS and iPadOS.

## Use cases
- show a permission request modal in a SwiftUI app
- ask for camera and microphone access with a nice UI
- handle iOS permission prompts for location and notifications
- check authorization status of device permissions
- customize permission dialog text and colors
- request health kit permissions in SwiftUI

## When to choose
- building an iOS or iPadOS app in SwiftUI that needs system permissions
- wanting a polished, Apple-style permission onboarding flow with minimal code
- needing support for many permission types from one library

## When to avoid
- building for watchOS or tvOS, which are not yet supported
- using UIKit instead of SwiftUI
- needing only programmatic permission checks without UI

## Facets
- artifact type: library
- maturity: active
- function: ui-components, auth, mobile-framework
- domain: mobile-development, developer-tools
- platform: -
- tags: swiftui, permissions, spm, apple-style-ui, ux, ios, macos, swift

## Member repositories
- jevonmao/PermissionsSwiftUI (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.377744+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:58:34.136484+00:00, confidence not recorded.
  - readme: https://github.com/jevonmao/PermissionsSwiftUI (fetched 2026-08-28T04:05:05.377744+00:00, sha 32474fc60240)
- Data as of 2026-08-30T08:39:29.467469+00:00.
