まず
そして OPEN THE RootViewController.MM
Find this void 【
(UIInterfaceOrientation)interfaceOrientation {
return UIInterfaceOrientationIsPortrait( interfaceOrientation );
}```
**UIInterfaceOrientationIsPortrait( interfaceOrientation )** <---keyPoint
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
```- (NSUInteger) supportedInterfaceOrientations{
#ifdef __IPHONE_6_0
return UIInterfaceOrientationMaskPortrait;
#endif
}```
**UIInterfaceOrientationMaskPortrait** <---keyPoint
```- (BOOL) shouldAutorotate {
return NO;
}```
**NO** <---keyPoint
】
そして 縦モニターは完成しました〜