we have app menu. there uibarbutton can tapped open it. top view slides away show menu. when voiceover turned on, error below. i'm assuming because area that
2015-07-14 14:29:11.772 xxxxx[318:36506] |error| not find <uinavigationbutton: 0x13e57db60; frame = (5 6; 40 30); opaque = no; layer = <calayer: 0x170435ee0>> in list of sorted view [parent: <mobileuiapplication: 0x13e6023d0>] siblings ( "<uitableview: 0x13e8ac800; frame = (0 20; 375 647); clipstobounds = yes; opaque = no; autoresize = rm+bm; autoresizessubviews = no; gesturerecognizers = <nsarray: 0x17444cb10>; layer = <calayer: 0x170436560>; contentoffset: {0, 0}; contentsize: {375, 680}>" ). if happened right around screen change, might okay, otherwise bug. 2015-07-14 14:29:11.775 xxxxx[318:36506] |error| not find <uinavigationbutton: 0x13e57db60; frame = (5 6; 40 30); opaque = no; layer = <calayer: 0x170435ee0>> in list of sorted view [parent: <mobileuiapplication: 0x13e6023d0>] siblings ( "<uitableview: 0x13e8ac800; frame = (0 20; 375 647); clipstobounds = yes; opaque = no; autoresize = rm+bm; autoresizessubviews = no; gesturerecognizers = <nsarray: 0x17444cb10>; layer = <calayer: 0x170436560>; contentoffset: {0, 0}; contentsize: {375, 680}>" ). if happened right around screen change, might okay, otherwise bug. i added uiaccessibilitypostnotification(uiaccessibilitylayoutchangednotification, nil); still error.
should concerned , should done this?
you using uiaccessibilitylayoutchangednotification used notify layout of element or part of uiview has changed. try using uiaccessibilityscreenchangednotification.
if tableview scrolls, might want use uiaccessibilitypostnotification(uiaccessibilitypagescrollednotification, [self.tableview indexpathsforvisiblerows]); every time tableview scrolls, focus on first cell of tableview.
Comments
Post a Comment