Unexpected debug messages
Unexpected debug messages
- Subject: Unexpected debug messages
- From: Richard Groves <email@hidden>
- Date: Fri, 19 Jul 2013 15:28:59 +0100
Hi,
We have a custom UIAccessibilityContainer protocol implementation and are getting a lot of these 'missing view' messages written out to the console log when VO is active (see below).
There is some hiding of accessibility views and rebuilding of the list of items in the accessibleElements going on, but the view this error is reported about is never in the list (it has isAccessibleElement == NO) and is just a mid level 'holder' view for the actual accessibility items it contains. View hierarchy goes something like: <top level: implements the UIAccessibilityContainer> => <This scroll view that reports errors> => < lots of subviews some of which are accessible views, others that are just containers for accessible views> => <etc>
The total number of accessible elements in the UIAccessibilityContainer gathered from the various subviews can be 30+ if that affects the cause [the actual problem I'm trying to fix is that once it goes above about 25 the list breaks down and doesn't cycle properly in VO - and I'm wondering if these debug messages are the cause].
Thanks for any insights,
Richard
Example of log messages (view pointer highlighted in bold to indicate it is all about the same view):
2013-07-19 15:13:18.342 BBC Weather[3907:907] **** Accessibility: Could not find a valid index for <UIScrollView: 0x1f0e4060; frame = (0 114; 320 284); clipsToBounds = YES; opaque = NO; tag = 3; gestureRecognizers = <NSArray: 0x1f15fb20>; layer = <CALayer: 0x1f093ce0>; contentOffset: {320, 0}> in -[AccessibilityManualOrderedBySubviewHierarchyTagView indexOfAccessibilityElement:]
2013-07-19 15:13:18.345 BBC Weather[3907:907] **** Accessibility: Could not find where <UIScrollView: 0x1f0e4060; frame = (0 114; 320 284); clipsToBounds = YES; opaque = NO; tag = 3; gestureRecognizers = <NSArray: 0x1f15fb20>; layer = <CALayer: 0x1f093ce0>; contentOffset: {320, 0}> starts. Was it's parent [<AccessibilityManualOrderedBySubviewHierarchyTagView: 0x1f0b0c30; frame = (0 494; 320 494); opaque = NO; layer = <CALayer: 0x1f0b0140>>] set correctly or did it disappear?
2013-07-19 15:13:18.350 BBC Weather[3907:907] **** Accessibility: Could not find a valid index for <UIScrollView: 0x1f0e4060; frame = (0 114; 320 284); clipsToBounds = YES; opaque = NO; tag = 3; gestureRecognizers = <NSArray: 0x1f15fb20>; layer = <CALayer: 0x1f093ce0>; contentOffset: {320, 0}> in -[AccessibilityManualOrderedBySubviewHierarchyTagView indexOfAccessibilityElement:]
2013-07-19 15:13:18.351 BBC Weather[3907:907] **** Accessibility: Could not find where <UIScrollView: 0x1f0e4060; frame = (0 114; 320 284); clipsToBounds = YES; opaque = NO; tag = 3; gestureRecognizers = <NSArray: 0x1f15fb20>; layer = <CALayer: 0x1f093ce0>; contentOffset: {320, 0}> starts. Was it's parent [<AccessibilityManualOrderedBySubviewHierarchyTagView: 0x1f0b0c30; frame = (0 494; 320 494); opaque = NO; layer = <CALayer: 0x1f0b0140>>] set correctly or did it disappear?
2013-07-19 15:13:18.711 BBC Weather[3907:907] **** Accessibility: Could not find a valid index for <UIScrollView: 0x1f0e4060; frame = (0 114; 320 284); clipsToBounds = YES; opaque = NO; tag = 3; gestureRecognizers = <NSArray: 0x1f15fb20>; layer = <CALayer: 0x1f093ce0>; contentOffset: {320, 0}> in -[AccessibilityManualOrderedBySubviewHierarchyTagView indexOfAccessibilityElement:]
2013-07-19 15:13:18.712 BBC Weather[3907:907] **** Accessibility: Could not find where <UIScrollView: 0x1f0e4060; frame = (0 114; 320 284); clipsToBounds = YES; opaque = NO; tag = 3; gestureRecognizers = <NSArray: 0x1f15fb20>; layer = <CALayer: 0x1f093ce0>; contentOffset: {320, 0}> starts. Was it's parent [<AccessibilityManualOrderedBySubviewHierarchyTagView: 0x1f0b0c30; frame = (0 494; 320 494); opaque = NO; layer = <CALayer: 0x1f0b0140>>] set correctly or did it disappear?
2013-07-19 15:13:18.715 BBC Weather[3907:907] **** Accessibility: Could not find a valid index for <UIScrollView: 0x1f0e4060; frame = (0 114; 320 284); clipsToBounds = YES; opaque = NO; tag = 3; gestureRecognizers = <NSArray: 0x1f15fb20>; layer = <CALayer: 0x1f093ce0>; contentOffset: {320, 0}> in -[AccessibilityManualOrderedBySubviewHierarchyTagView indexOfAccessibilityElement:]
2013-07-19 15:13:18.717 BBC Weather[3907:907] **** Accessibility: Could not find where <UIScrollView: 0x1f0e4060; frame = (0 114; 320 284); clipsToBounds = YES; opaque = NO; tag = 3; gestureRecognizers = <NSArray: 0x1f15fb20>; layer = <CALayer: 0x1f093ce0>; contentOffset: {320, 0}> starts. Was it's parent [<AccessibilityManualOrderedBySubviewHierarchyTagView: 0x1f0b0c30; frame = (0 494; 320 494); opaque = NO; layer = <CALayer: 0x1f0b0140>>] set correctly or did it disappear?
--
Richard Groves
Technical Director | NoodlFroot
M: +44 (0)7962 054 163
NoodlFroot Limited is a company registered in England and Wales with registration number 07245048.
Registered office: 145-157 St John Street, London, EC1V 4PY.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden