askSignificantChangePermission(for:permissionFlow:in:)
Tells the system to request that the user send the significant app update permission question to the user’s parent/s and/or guardian/s using the specified permission flow. Throws an error if the system was unable to request the user to send the question.
Declaration
@MainActor final func askSignificantChangePermission(for question: PermissionQuestion<SignificantAppUpdateTopic>, permissionFlow: PermissionFlow, in window: NSWindow) async throws -> PermissionResultParameters
- question:
The question that the system requests the child send.
- permissionFlow:
The permission flow to present.
- window:
The window to anchor and present system UI off of.
Return Value
The user’s resolved action — .askToApprove(didSend:), .approveInPerson(approved:), or .cancel.