Add properties for accessibilty to ASDisplayNode to support layer backed nodes

This commit is contained in:
Michael Schneider
2016-04-07 10:45:14 -07:00
parent ef31c3abf0
commit f3303c1fb8
3 changed files with 67 additions and 24 deletions

View File

@@ -695,6 +695,10 @@ NS_ASSUME_NONNULL_END
- (nullable UIView *)preferredFocusedView;
#endif
@end
@interface ASDisplayNode (UIViewBridgeAccessibility)
// Accessibility support
@property (atomic, assign) BOOL isAccessibilityElement;
@property (nullable, atomic, copy) NSString *accessibilityLabel;