An object that defines a portion of an image that you want to call out separately to an assistive app.


class WKAccessibilityImageRegion : NSObject


The accessibility image region object defines the portion of the image that you want to call out separately and the label you want to apply to that region. Use an accessibility image region object in conjunction with any interface object that displays an image, either as part of its foreground or background content. Register your custom regions using the setAccessibilityImageRegions(_:) method of the corresponding interface object.


Getting the Region Attributes

var frame: CGRect

A portion of the parent image, in the image’s coordinate system.

var label: String

A succinct label that succinctly identifies the purpose of the image region.


Inherits From

Conforms To

See Also

User Interface Basics

Laying Out Your User Interface

Create the user interface for your watchOS app using nested stacks.

Keeping Your watchOS Content Up to Date

Ensure that your watchOS content is relevant and up to date.

Preparing to Take Your watchOS App’s Snapshot

Use snapshot background tasks to provide a timely, accurate snapshot of your app.

class WKInterfaceObject

An object that provides information that is common to all interface objects in your watchOS app.

class WKInterfaceController

A class that provides the infrastructure for managing the interface in a watchOS app.

class WKAlertAction

An object that encapsulates information about a button displayed in an alert or action sheet.

func WKAccessibilityIsVoiceOverRunning() -> Bool

Returns a Boolean value indicating whether VoiceOver is running.

func WKAccessibilityIsReduceMotionEnabled() -> Bool

Returns a Boolean value indicating whether reduced motion is enabled.