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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

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