Upravit

Sdílet prostřednictvím


UIAccessibility Class

Definition

Provides access to the accessibility framework for UIKit.

public static class UIAccessibility
type UIAccessibility = class
Inheritance
UIAccessibility

Properties

DarkerSystemColorsEnabled

Determines whether darker system colors are currently enabled

DarkerSystemColosEnabled
Obsolete.

Deprecated. Developers should use DarkerSystemColorsEnabled, instead.

HearingDevicePairedEar

Retrieves the status of how a hearing device is paired to one, both, or no ears.

IsAssistiveTouchRunning

Whether assistive touch is active.

IsBoldTextEnabled

Determines whether bold text is currently enabled

IsClosedCaptioningEnabled

Determines whether close captioning is currently enabled.

IsGrayscaleEnabled

Determines whether gray scale is currently enabled

IsGuidedAccessEnabled

Determines whether guide access is currently enabled.

IsInvertColorsEnabled

Determines if the system is currently rendering with inverted colors for accessibility

IsMonoAudioEnabled

Determines whether the system is running with mono audio.

IsReduceMotionEnabled

Determines whether the system is running with reduced motion.

IsReduceTransparencyEnabled

Determines whether the system is running with reduced transparency.

IsShakeToUndoEnabled

Whether the "shake to undo" gesture is enabled on the device.

IsSpeakScreenEnabled

Determines whether the system is running with the speak screen enabled.

IsSpeakSelectionEnabled

Determines whether the system is running with speak selection enabled.

IsSwitchControlRunning

Determines whether the system is running with switch control enabled.

IsVoiceOverRunning

Determines whether voiceover is currently active.

Methods

ConvertFrameToScreenCoordinates(CGRect, UIView)

Converts the provided rectangle in the specified view to screen coordinates.

ConvertPathToScreenCoordinates(UIBezierPath, UIView)

Converts the path to screen coordinates and returns a new path using those values.

FocusedElement(String)

Retrieves the currently focused element for the given assistiveTechnologyIdentifier assistive technology.

PostNotification(Int32, NSObject)

Posts an accessibility notification.

PostNotification(UIAccessibilityPostNotification, NSObject)

Posts an accessibility notification.

RegisterGestureConflictWithZoom()

Used to inform the user that the accessibility zoom gesture conflicts with a gesture used by this application.

RequestGuidedAccessSession(Boolean, Action<Boolean>)

Requests that the system to enter Guided Access mode.

RequestGuidedAccessSessionAsync(Boolean)

Asynchronously requests a transition between normal and Single App modes.

ZoomFocusChanged(UIAccessibilityZoomType, CGRect, UIView)

Applies to