Sunday, 15 February 2015

iphone - UIStatusBar orientation not restored after hiding UIWindow -



iphone - UIStatusBar orientation not restored after hiding UIWindow -

i having problem, cannot find solution anywhere. maybe has idea. (for background information, using 2 uiwindows (different levels) in (iphone) app.)

for uiwindow1 have set root view controller, supports portrait orientation. for uiwindow2 have set root view controller, supports landscape(right) orientation.

by default uiwindow1 visible , @ point want show uiwindow2 - , displayed , orientation changes landscape(right), far good.

now @ point want hide uiwindow2 1 time again - , hidden , view uiwindow1 visible again, statusbar remains in landscape(right) orientation. (even when keyboard should visible, presented in landscape orientation).

how restore statusbar orientation 1 time again after hiding uiwindow2?

thanks reading.

iphone ios objective-c ipad

No comments:

Post a Comment