Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / AGK Doesn't Rotate Display (iOS)

Author
Message
anwserman
13
Years of Service
User Offline
Joined: 20th May 2011
Location: Wisconsin
Posted: 19th Jan 2012 09:48 Edited at: 19th Jan 2012 10:14
Here is my code for rotating the screen:



If I rotate my device around, it stays locked facing the direction that AppGameKit started up in. For instance, at -90. If I hit the home button, and start the application again, AppGameKit appears, rotates the other direction (to 90) and stays that way until I force exit it.

As this sounds confusing, I made a MS paint pic showing the problem. Why doesn't AppGameKit actively rotate the screen based on how the user is holding it? This should be something done automatically by AppGameKit :/

EDIT: In Xcode, when I look at the project settings (where you can assign application icons), I've selected both landscape orientation buttons as options. Am I correct in doing this?

Hi there. My name is Dug. I have just met you, and I love you.

Attachments

Login to view attachments
anwserman
13
Years of Service
User Offline
Joined: 20th May 2011
Location: Wisconsin
Posted: 22nd Jan 2012 23:51
Update: Having "Portrait Rotation" locked on iOS devices prevents AppGameKit from rotating the screen correctly. I'll post this under Google Code as a bug. I'll do further testing, but its a workaround for now

Hi there. My name is Dug. I have just met you, and I love you.

Login to post a reply

Server time is: 2024-11-23 00:27:48
Your offset time is: 2024-11-23 00:27:48