title: ipad: problem in landscape and portrait orientation
body: <p>I am completely new to iPad development and facing this issue:</p>
  
  <p>In added a View, "LoginView", as a subview of "detailView". I displays fine in portrait mode, but in landscape mode its getting shifted to lefthand side and covers only half of the screen.</p>
  
  <p>Please help me and provide solutions for these two:</p>
  
  <p>1)  "LoginView" should cover the complete screen in landscape mode.</p>
  
  <p>2)  After LoginView, if login is successful I add 'SearchView' to 'LoginView' as subview, but this screen is hiding the toolbar(and thus toolbar button) in both the Portrait/Landscape I want that toolbar to be visible.</p>
  
  <p>3) Again this 'SearchView' is shifted to left of the screen I want this to be on righthand side.</p>