I am working with COCOS2D game. Now i have updated my game to iOS6. I have seen that Apple has changed Game Center login(authentication) process. So for that i have used handler authenticateWithCompletionHandler and nw my game is crashing.
I have also solved this issue via adding method.
- (NSUInteger)application:(UIApplication*)application supportedInterfaceOrientationsForWindow:(UIWindow*)window
{
return UIInterfaceOrientationMaskAllButUpsideDown;
}
That fixed my crash. But now issue is Game-Center authentication view comes only in portrait mode. As my whole game is in Landscape mode. i want that authentication view in Landscape.
Does anyone provide me any solution for this issue.
Thanks in advance!!!