문제

When GameCenter is loaded, it is in default portrait view.

Is there anyways to load and lock it in landscape view like fruit ninja did?

Thanks..

I'm using it with cocos2d..

도움이 되었습니까?

해결책

Are you using auto-rotation at all? The default I believe is UIViewRotation, which for me doesn't work at all (how did you get it to successfully work in portrait?). If you change to CCDirector rotation, it should work. You can modify this in GameConfig.h

다른 팁

i think method

[self presentModalViewController: leaderboardController animated: YES];

will help u. Hope it help =))

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top