Declared in DTAccessibilityViewProxy.h

Overview

Protocol to provide custom views for accessibility elements representing a DTTextAttachment.

Tasks

Instance Methods

viewForTextAttachment:proxy:

Provides a view for an attachment, e.g. an imageView for images

- (UIView *)viewForTextAttachment:(DTTextAttachment *)attachment proxy:(DTAccessibilityViewProxy *)proxy

Parameters

attachment

The DTTextAttachment that the requested view should represent

proxy

The frame that the view should use to fit on top of the space reserved for the attachment.

Return Value

The sender requesting the view.

Declared In

DTAccessibilityViewProxy.h