title: Issue with presenting UIImagePickerController in iOS 7
body: <p>My application runs in only landscape mode ! so I know <code>UIImagePickerController</code> presents only in portrait mode , so in iOS 6 , I had created a subclass of <code>UIImagePickerController</code> that forced <code>UIImagePickerController</code> to open in portrait mode:</p>
  
  <pre><code>@interface NonRotatingUIImagePickerController : UIImagePickerController
  
  @end
  
  @implementation NonRotatingUIImagePickerController
  
  - (BOOL)shouldAutorotate {
  
      return NO;
  }
  
  @end
  </code></pre>
  
  <hr>
  
  <pre><code>//presenting picker controller :
  
  UIImagePickerController *ipc = [[NonRotatingUIImagePickerController alloc]init];
  ipc.delegate = self;
  [self presentViewController:ipc animated:YES completion:nil];
  </code></pre>
  
  <p>This worked fine in iOS 6 , but now in iOS 7 my app does crash because of this :</p>
  
  <pre><code>2013-10-31 14:56:01.028 Medad[1731:60b] *** Terminating app due to
  uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason:
  'Supported orientations has no common orientation with the
  application, and shouldAutorotate is returning YES'
  </code></pre>
  
  <p>This problem could be solved if I check <code>Portrait</code> in deployment info :
  <img src="https://i.stack.imgur.com/tUTRl.png" alt="enter image description here"></p>
  
  <p>The problem is if I check this option my app does run in portrait too but I don't want it! </p>
  
  <p>How can I solve this issue?</p>