title: Orientation mode as landscape for only one screen - iPhone
body: <p>Im developing an application using Titanium which is compatible for iPhone. I'm navigating between 4 views.
  1st View (Portrait) ---> 2nd View (Landscape) --> 3rd View (Portrait) ---> 4th View (Portrait)
  SO I have 3 Portrait views in my application and I used <em>Tiapp.xml</em> and add</p>
  
  <pre><code>&lt;orientations device="iphone"&gt;
       &lt;orientation&gt;Ti.UI.PORTRAIT&lt;/orientation&gt;
  &lt;/orientations&gt;
  </code></pre>
  
  <p>For 2nd View I used following code ;</p>
  
  <pre><code>var winCheckInLogin = Ti.UI.createWindow({
      backgroundColor : "black",
      orientationModes : [Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT],
      navBarHidden : true, // Hides the native title bar
  });
  
  winCheckInLogin.addEventListener("open", function() {
      Titanium.UI.orientation = Titanium.UI.LANDSCAPE_LEFT;
  });
  </code></pre>
  
  <p>But for the loading time 2nd View appear on Portrait mode after I rotate my device it keep it as Landscape. I need to load it as Landscape mode and lock that screen as it is.</p>
  
  <p>Please help me to solve this.</p>
  
  <p>Thanks a lot</p>