【发布时间】:2014-07-07 23:58:58
【问题描述】:
已经在 AppDelegate.m 中添加了下面的代码,但仍然无法正常工作。
-(NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskPortrait;
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return UIInterfaceOrientationIsPortrait(interfaceOrientation);
}
这里是 Xcode 总结页面:
【问题讨论】:
标签: cocos2d-iphone