标签:c style class blog code java
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return UIInterfaceOrientationIsPortrait(interfaceOrientation ); } // For ios6, use supportedInterfaceOrientations & shouldAutorotate instead - (NSUInteger) supportedInterfaceOrientations{ #ifdef __IPHONE_6_0 return UIInterfaceOrientationMaskPortrait; #endif }
cocos2d 设置iphone竖屏,布布扣,bubuko.com
标签:c style class blog code java
原文地址:http://www.cnblogs.com/yufenghou/p/3756927.html