Contents

ask(_:in:)

Tells the system to request that the person send the communication permission question to the person’s parent or guardian.

Declaration

final func ask(_ question: PermissionQuestion<CommunicationTopic>, in window: NSWindow) async throws

Parameters

  • question:

    The question that the system requests the person send.

  • window:

    The window to which you anchor and present system UI.

Overview

Throws an error if the system is unable to request to send the question.

See Also

Making permission requests