Change Lanscape Cocos Creator
Cocos
OCTOBER 27, 2024
I am embedding cocos build Lanscape into native ios build Portrial but when I switch from native IOS to cocos creator, the horizontal screen only takes up 1/2 This is the code I wrote in AppDelegate cocos creator to change the Portrial → Lanscape screen (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window { return UIInterfaceOrientationMaskLandscapeRight; } (UIInterfaceOrientation)preferredInterfaceOrientationForPresentat
Let's personalize your content