Contents

accessibility(identifier:)

Uses the specified string to identify the view.

Declaration

nonisolated func accessibility(identifier: String) -> ModifiedContent<Self, AccessibilityAttachmentModifier>

Discussion

Use this value for testing. It isn’t visible to the user.

See Also

Accessibility modifiers