摘要:
函数所在目录:Cocos2d-x项目目录iOS目录中的RootViewController.mm文件中默认是横屏函数一:(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {// returnUIInterfaceOrientationIsLandscape( interfaceOrientation ); return (UIInterfaceOrientationIsPortrait( interfaceOrientation ));}函数二:- (NSUIn.. 阅读全文