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

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -