02-17-2011 09:00 PM
I have a tic tac toe app that i want to have work in both orientations but, sometimes when i switch it to portrait mode in the simulator it doesnt always readjust. But, sometimes it does. is this a bug in the simulator?
Note: I have autoOrients tag set to true and I'm using 0.9.3 of the simulator.
02-17-2011 09:21 PM
You'd have to give us more to go on than that... "doesn't always readjust"... like, how?
There is a bug in the simulator that means after rotating, you have to do a "bottom-swipe" (that's up from the bottom bezel) to bring up the Home Screen (even if it looks like the app is already minimized) and then tap on your app to restore it to fullscreen.
This and everything else currently known about this can be discovered by searching the forum for past posts.
If you know all that and have read some search results, and it's not helping, give more info about the nature of your problem and how your app is attempting to handle the reorientation.
02-17-2011 10:14 PM
sorry, to clarify when I rotate the simulator while the app is maximized it orients properly but when it is minimized it doesn't and is squished/distorted. Im guessing this is a sim issue but, what do you think?
02-17-2011 10:29 PM - edited 02-17-2011 10:30 PM
Same thing happening here, but it is all the time, not just sometimes. I created a Container and set:
stage.scaleMode = StageScaleMode.NO_SCALE;
Then I added a movieclip to the stage. After minimizing the app then rotating to protrait mode from the bottom right corner, the movieclip is squished (scaled).
I have seen a video posted by Renaun Erickson using simulator 9.2 where he rotates, but it doesn't look like the button is scaled. Others have said it is still not supported, so I am trying to find a clear answer.
Note: I am using 9.3 SDK and simulator on Windows 7 32-bit.
02-18-2011 07:53 AM
This is another bug in the simulator. Minimized apps don't get notified and cannot, when reactivated, discover the new orientation. Wait for an updated SDK if you want to test that.