Contents

ask(_:in:)

Tells the system to request that the user send the communication permission question to the user’s parent/s and/or guardian/s. Throws an error if the system was unable to request the user to send the question.

Declaration

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

Parameters

  • question:

    The question to request send of.

  • window:

    The window to anchor and present system UI off of.

See Also

Deprecated APIs