Class

WKAccessibilityImageRegion

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

Overview

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.

Symbols

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.

Relationships

Inherits From

Conforms To