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

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -