1

I have a storyboard with more than 50 view controllers. Among this 50 view controllers I have to rotate only one view controller to landscape mode because it contains a UIWebview. My app only supports portrait mode.I have tried the following code, but it's crashing.

Is there any possibility to do with App delegate...Please help.

- (NSUInteger) supportedInterfaceOrientations {
   return UIInterfaceOrientationMaskLandscape;
 }
DharaParekh
  • 1,730
  • 1
  • 10
  • 17
Mac_Play
  • 302
  • 4
  • 21
  • check this link http://stackoverflow.com/questions/17466048/how-to-allow-only-single-uiviewcontroller-to-rotate-in-both-landscape-and-portra – Ganesh Kumar Aug 20 '14 at 06:12

1 Answers1

-2

Try to rotate using view.transform property.

wshcdr
  • 935
  • 2
  • 12
  • 27