Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
加载 GameCenter 时,它处于默认纵向视图。
有没有像水果忍者那样在横向视图中加载和锁定它?
谢谢..
我用 cocos2d..
您是否完全使用自动旋转?我认为默认的是 UIViewRotation,它对我来说根本不起作用(你是如何让它在纵向上成功工作的?)。如果您更改为 CCDirector 旋转,它应该可以工作。您可以在 GameConfig.h 中修改它
我认为方法
[self presentModalViewController: leaderboardController animated: YES];
会帮助你。希望对您有所帮助 =))