Instance Method

accessibilityAction(named:_:)

Adds a custom accessibility action to the view.

Declaration

func accessibilityAction(named name: Text, _ handler: @escaping () -> Void) -> ModifiedContent<Section<Parent, Content, Footer>, AccessibilityAttachmentModifier>