A SwiftUI cross-import overlay for PermissionKit that adds actions and views for sending permission questions to a parent or guardian and handling their approval responses. Using the AskPermissionAction struct, you present a permission request from your SwiftUI views and react to whether the parent or guardian approves it. It is available on iOS, macOS, and visionOS.
Permission Requests 1
Present a permission question to a parent or guardian from your SwiftUI views and respond to the approval result.
- StAskPermissionActionAn action that sends a permission question to a parent or guardian.
Structures 2
- StCommunicationLimitsButtonA button that presents a system UI to a parent or guardian to ask for an exception to a child's communication limits.
- StPermissionButtonA button that presents a system UI to a parent or guardian to ask for an exception to a child's communication limits.
Extends 1
EnvironmentValues