Contents

init(question:label:)

Creates a button that requests permission from parents or guardians.

Declaration

@MainActor @preconcurrency init(question: PermissionQuestion<Topic>, @ViewBuilder label: @escaping () -> Label) where Topic == CommunicationTopic

Parameters

  • question:

    The question to ask a parent or guardian on behalf of their child.

  • label:

    The view to display inside the button.

See Also

Creating buttons