title: Setting orientation in iOS 7
body: <p>I have th e following code in my uiviewcontroller.m file:</p>
  
  <pre><code>-(BOOL)shouldAutoRotate
  {
      return YES or NO;
  }
  </code></pre>
  
  <p>I have tried both YES and NO but my view controller still rotates? I am using iOS 7 and the other iOS solutions I found aren't working for me either.</p>