PermissionsSwiftUI displays and handles permissions in SwiftUI. It is largely inspired by SPPermissions. The UI is highly customizable and resembles an Apple style. The alert style is equally gorgeous, and allows for more versatile use. It is recommended when you have less than 3 permissions. Similar to the previous JMPermissions, you need to pass in a Binding<Bool> to show the view, and add whatever permissions you want to show. To quickly glance at all of PermissionsSwiftUI's customization and configurations, check out the cheatsheet. To customize permission texts, use the modifier setPermissionComponent() For example, you can change title, description, and image icon.

Features

  • PermissionsSwiftUI looks equally gorgeous on both light and dark mode
  • Requires iOS 11 (SwiftUI require iOS 13.0) or iPadOS 13
  • Supports Xcode 12 and Swift 5.3
  • tvOS support coming soon
  • Swift Package Manager (Recommended)
  • You don't need to add CorePermissionsSwiftUI or PermissionsSwiftUI

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow PermissionsSwiftUI

PermissionsSwiftUI Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PermissionsSwiftUI!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software

Registered

2023-07-03