15 self = [
super initWithFrame:CGRectZero];
22 - (UIView*)hitTest:(CGPoint)point withEvent:(UIEvent*)event {
30 - (BOOL)isAccessibilityElement {
38 if (
self.contentSize.width >
self.frame.size.width ||
39 self.contentSize.height >
self.frame.size.height) {
42 return ![
self.semanticsObject bridge]->isVoiceOverRunning();
48 - (NSString*)accessibilityLabel {
49 return self.semanticsObject.accessibilityLabel;
52 - (NSAttributedString*)accessibilityAttributedLabel {
53 return self.semanticsObject.accessibilityAttributedLabel;
56 - (NSString*)accessibilityValue {
57 return self.semanticsObject.accessibilityValue;
60 - (NSAttributedString*)accessibilityAttributedValue {
61 return self.semanticsObject.accessibilityAttributedValue;
64 - (NSString*)accessibilityHint {
65 return self.semanticsObject.accessibilityHint;
68 - (NSAttributedString*)accessibilityAttributedHint {
69 return self.semanticsObject.accessibilityAttributedHint;
72 - (BOOL)accessibilityActivate {
73 return [
self.semanticsObject accessibilityActivate];
76 - (void)accessibilityIncrement {
77 [
self.semanticsObject accessibilityIncrement];
80 - (void)accessibilityDecrement {
81 [
self.semanticsObject accessibilityDecrement];
84 - (BOOL)accessibilityScroll:(UIAccessibilityScrollDirection)direction {
85 return [
self.semanticsObject accessibilityScroll:direction];
88 - (BOOL)accessibilityPerformEscape {
89 return [
self.semanticsObject accessibilityPerformEscape];
92 - (void)accessibilityElementDidBecomeFocused {
93 [
self.semanticsObject accessibilityElementDidBecomeFocused];
96 - (void)accessibilityElementDidLoseFocus {
97 [
self.semanticsObject accessibilityElementDidLoseFocus];
100 - (id)accessibilityContainer {
101 return self.semanticsObject.accessibilityContainer;
104 - (NSInteger)accessibilityElementCount {
105 return self.semanticsObject.
children.count;