UIAccessibility on subview of UIWINDOW -
hi have added viewcontroller view uiwindows below
[[[uiapplication sharedapplication] keywindow] addsubview:self.myviewcontroller.view];
but myviewcontroller view uiaccessibility not working. getting whatever backside of window.
i figured solution, should add subview on topmost window.
uiwindow* window = [uiapplication sharedapplication].keywindow; if (!window) window = [[uiapplication sharedapplication].windows objectatindex:0]; [[[window subviews] objectatindex:0] addsubview:self.myviewcontroller.view];
Comments
Post a Comment