It seems that the Q&A object is designed only for portrait orientation of the screen, because when the app is in landscape mode, the object is displayed "vertically". Or has anyone got it working properly in landscape mode?
Printable View
It seems that the Q&A object is designed only for portrait orientation of the screen, because when the app is in landscape mode, the object is displayed "vertically". Or has anyone got it working properly in landscape mode?
It seems to only happen half of the time. Might be to do with the accelerometer position when you start the game perhaps. It works in landscape mode most of the time for me but occasionally it tries to go portrait, I think it may be to do with how you were holding the device when you started the app or something.
I tested that theory, and it doesn't work for me at least. No matter in which screen orientation I start the game, my Q&A is always in portrait (and game in left/right landscape).
It works for me, but I did get a problem some time back where the QA was upside down. It turns out that the plist (I think it was) in the xcode project had the other landscape orientation set. In my case I think I generated the xcode project from MMF when it was in this orientation and then I later changed it at this time I was only building the Application.cci file.
Have you tried to generate a new xcode project from MMF, or take a look for the plist settings in your existing xcode project and you should see options in there, it's my guess it is showing as portrait.
What is your 'Screen orientation' property set to in the iOS application properties?
Can you verify that this option is the same as the 'Initial interface orientation' property in the RuntimeIPhone-Into.plist file in XCode?
Edit: Ah, AndyH beat me to it :)
In MMF2 iOS options I've set the screen orientation to 'Landscape (right)'.
In Xcode project I did not find a file called 'RuntimeIPhone-Into.plist', but I found a file called 'MyProjectName-Info.plist' - is this the same one that you referred to?
In that file, Initial interface orientation says 'Landscape (right home button)', so that seems to be the same as in MMF2 iOS properties. Also in iPad Deployment Info menu's Supported Device Orientations in Xcode I have selected 'Landscape Right'.
Yes, the Info.plist file changes name depending on your project name sorry :)
Did you also set the supported device orientation for the iPhone/iPod settings?
Yes, it's the same for iPhone as well when I change the device from iPad to iPhone in Xcode in the iOS Application Target section. Though I have not tested it on iPhone - only on iPad.
Also the Input object behaves similarly for me, no luck with that one either. :(
Do you use XCode 4? In that case you should be able to see both iPhone and iPad orientation settings if you set to build an universal binary (iPhone/iPad)
Yep, I use Xcode 4.XX.
I guess it's a mystery then if the Q&A and Input objects work for everyone else except myself.. :)