Cocos2d-x 縦モニター方法


まず 
そして OPEN THE RootViewController.MM
Find this void 【
- (BOOL)shouldAutorotateToInterfaceOrientation:(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

そして 縦モニターは完成しました〜