Distorted Resume Screenshot if Game Center popUp is Open on Suspend

Hi,

I have a landscape-only app with auto-rotation (left and right). Suspending and resuming works fine with the screenshot the system takes before suspending. If the native Game Center popup is open on suspend the screenshot displayed on resume is a landscape screenshot distorted in portrait.

Is this a known problem? One solution I can think of is to close the popup before the app suspends and the screenshot is taken, but I don’t think this is possible without user action.

Kind Regards,

Tobias

I just bought “RGB Express” (great game!) and found out, that it happens the other way around in this game. It runs in portrait mode and shows the “suspend”-screenshot in landscape for a short time during resume, if the game center popup is open.

I think this happend in connection with the fix for the landscape problem with the game center popup on iOS 6. Of course this is only a cosmetic issue.

Cheers,

Tobias

I don’t think Corona SDK is making screen shots.  The OS might be.  If you can close the popup that might be the best course of action.

Rob

I expect these images are created and displayed by the OS, too. For any reason the OS does’t know the correct orientation of the app if the game center popup is open. Perhaps it has something to do with the game center landscape problem some time ago. l bet there is a “90” somewhere in the Corona code. :wink:

I don’t know and can’t find a solution to close the popup from code (without user interaction). Perhaps the table which mimics the GKLeaderboardViewController, described in the documentation of gameNetwork.show(), could be a starting point.

Tobias

I just bought “RGB Express” (great game!) and found out, that it happens the other way around in this game. It runs in portrait mode and shows the “suspend”-screenshot in landscape for a short time during resume, if the game center popup is open.

I think this happend in connection with the fix for the landscape problem with the game center popup on iOS 6. Of course this is only a cosmetic issue.

Cheers,

Tobias

I don’t think Corona SDK is making screen shots.  The OS might be.  If you can close the popup that might be the best course of action.

Rob

I expect these images are created and displayed by the OS, too. For any reason the OS does’t know the correct orientation of the app if the game center popup is open. Perhaps it has something to do with the game center landscape problem some time ago. l bet there is a “90” somewhere in the Corona code. :wink:

I don’t know and can’t find a solution to close the popup from code (without user interaction). Perhaps the table which mimics the GKLeaderboardViewController, described in the documentation of gameNetwork.show(), could be a starting point.

Tobias