askSignificantChangePermission(for:permissionFlow:in:)
Requests that a child send the significant app update permission question to their parent or guardian using the specified permission flow.
Declaration
@MainActor final func askSignificantChangePermission(for question: PermissionQuestion<SignificantAppUpdateTopic>, permissionFlow: PermissionFlow, in viewController: UIViewController) async throws -> PermissionResultParameters
- question:
The question that the system requests the child send.
- permissionFlow:
The permission flow to present.
- viewController:
The view controller to which to anchor and present system UI.
Return Value
The user’s resolved action — .askToApprove(didSend:), .approveInPerson(approved:), or .cancel.
Discussion
Throws an error if the system can’t request a child to send the permission question.