I have menu that is portrait only and detail view (with UIWebView
) that can be portrait or landscape.
When I enter detail view and rotate device landscape and go back from that screen in that way to menu which should only be portrait then menu is in landscape orientation (along with status bar and navigation bar).
Is there a way to avoid this and force screen to be rotated to desired (supported) orientation?