portrait/landscape?

Monkey Targets Forums/iOS/portrait/landscape?

Dabz(Posted 2011) [#1]
In Android, you can change the screen thingy by editing a config file and jobs a good 'un?

How would one do this is in iOS.. I've looked in xCode and, erm, aye... I dare'nt touch anything in there because I simply havent got a clue what it all means in ze code files! :D

Dabz


Dabz(Posted 2011) [#2]

for example, to force ‘landscape’ mode for an app - you will need to edit the project’s ‘info.plist’ in xcode.



D'oh!!!!

Dabz


therevills(Posted 2011) [#3]
Just had to figure this out for myself :)

After building for the first time, go to your project build folder and edit MonkeyGame-Info.plist.

Near the bottom of the file you will see <array>. If you want landscape change the file just to have one array:

	<array>
		<string>UIInterfaceOrientationLandscapeRight</string>
	</array>



xzess(Posted 2011) [#4]
I prefer Xcode 4, you can just select your Screen Orientation and many things are much easier