Note that there are some explanatory texts on larger screens.

plurals
  1. POUnbalanced calls to begin/end appearance transitions for <GKModalRootViewController: 0xb7e450>
    primarykey
    data
    text
    <p>I give up on that point, I just can't figure out what is wrong and where... Here is the problem: in my iPhone application using Cocos2d, I configured autorotation through a viewController; however, since, when Game center opens its view as the user taps on "Create new account" during the authentication, this view does not receive any touch, but the touch go to the game's view (which is hidden under the Game center view).</p> <p>I have tried everything I thought about, but since I did not find any callback about this Game Center View, it is hard to find a way to correct this...</p> <p>Here is the initialization of the game's view:</p> <pre><code>// Init the UI View Controller // viewController = [[SQViewController alloc] initWithNibName:nil bundle:nil]; viewController.wantsFullScreenLayout = YES; EAGLView *view = [EAGLView viewWithFrame:[window bounds] pixelFormat:kEAGLColorFormatRGBA8 depthFormat:GL_DEPTH_COMPONENT24_OES]; [director setOpenGLView:view]; [director setDeviceOrientation:kCCDeviceOrientationPortrait]; [view removeFromSuperview]; [viewController setView:view]; [window addSubview:viewController.view]; [window makeKeyAndVisible]; </code></pre> <p>I have tried many other things, commented every single line in this code, tried some others (such as setHidden:NO, bringSubviewToFront...), but the only results I could get were: - Game display ok, Game Center ok, but no autorotate - Game displayed in portrait (the view controller only allow landscape modes), Game Center ok, no autorotate - Game not displayed (black screen), Game Center ok</p> <p>And no way to make it all work together... The only clue I have is the title of this topic, "Unbalanced calls to begin/end appearance transitions for ." But since I do not call the Game Center view myself, I don't know what to do with this...</p> <p>Anyone, any idea?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload