title: Screen Orientation for Portrait and Landscape Orientation in iOS (Objective-C)
body: <p>I have a situation where I want to call separate method for different Orientation (Portrait and Landscape).</p>
  
  <p>For example:</p>
  
  <pre><code>If (Orientation == Portrait)
  {
    Some method a;
  }
  
  Elseif (Orientation == Landscape)
  {
    Some method b;
  }
  </code></pre>