The "Accessibility Programming Guide For iOS" states:
Another way is to implement the isAccessibilityElement method of the UIAccessibility protocol in the implementation of your custom subclass. The following code snippet shows how to do this:
But when I am doing so, as in the following code:
class UITextLayerLabel : UIView, UIAccessibility {
XCode returns me this error:
[...] Use of undeclared type 'UIAccessibility'
What I am missing? A specific import? Is the protocol still available with iOS 10/XCode8?