title: What is the objective c equivalent of UIDevice.currentDevice().orientation.isLandscape?
body: <p>What is the objc code for below swift statement? </p>
  
  <pre><code>if (UIDevice.currentDevice().orientation.isLandscape)
  </code></pre>
  
  <p>what i figured out so far is </p>
  
  <pre><code>  if  ([[UIDevice currentDevice] orientation])
  </code></pre>