Accessibility
public enum Accessibility
-
Constants that describe how an accessibility element behaves. Set these traits to tell an assistive app how an accessibility element behaves or how to treat it. See UIAccessibilityTraits for further information.
See moreDeclaration
-
Used to provide additional functionality to assistive technologies beyond your accessible UI.
See moreDeclaration
Swift
public struct CustomAction : Equatable, Hashable
-
Declaration
Swift
public struct CustomContent : Equatable
-
Declaration
Swift
public static func frameSort( direction: Environment.LayoutDirection, root: UIView, userInterfaceIdiom: UIUserInterfaceIdiom = UIDevice.current.userInterfaceIdiom ) -> (NSObject, NSObject) -> Bool
-
Enables an element to opt-in to Large content viewer accessibility support. For a given element, add conformance to this protocol and provide the
largeContentViewerConfiguration
to automatically provide the large content viewer behavior without having to manually supply the arguments every time an instance of the element is defined.Large content viewer allows users to see a larger version of content when they press and hold on small UI elements. This is particularly useful for users who are low vision. It must only be used if dynamic type is not an option for a given element; it must not be used as a substitute for dynamic type. It’s triggered by a long press gesture and shows an enlarged version of the content in a special overlay. It’s only available when accessibility system type sizes.
If your element can function as a large content viewer element, add conformance to this protocol to add large content viewer behavior via
See moreaccessibilityShowsLargeContentViewer()
.Declaration
Swift
public protocol LargeContentViewerElement : Element
-
Large content viewer allows users to see a larger version of content when they press and hold on small UI elements. This is particularly useful for users who have difficulty seeing small text or icons.
See moreDeclaration
Swift
public protocol LargeContentViewerItem : UIView
-
Declaration
Swift
public struct LargeContentViewerConfiguration
-
Declaration
Swift
public protocol LargeContentViewerInteractionContainerViewable : UIView