Instance Method

accessibility(sortPriority:)

Sets the sort priority order for this view’s accessibility element, relative to other elements at the same level.

Declaration

func accessibility(sortPriority: Double) -> ModifiedContent<Self, AccessibilityAttachmentModifier>

Discussion

Higher numbers are sorted first. The default sort priority is zero.

See Also

Customizing Accessibility Navigation of a View