Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sergio10

macrumors regular
Original poster
Oct 3, 2007
137
0
Hi,

I need to develop horizontal application for iphone.
So, I rotated window in IB. But if I build project and rotate iphone simulator in horizontal position, buttons, sliders don't rotate in application.

Could you please help me???
Thanks
 

x12

macrumors newbie
May 20, 2009
27
0
if you want your app to start in landscape open you info.plist in xcode as a plain text file and add the following lines of code
Code:
<key>UIInterfaceOrientation</key>
	<string>UIInterfaceOrientationLandscapeRight</string>
	<key>UIDeviceOrientation</key>
	<string>UIDeviceOrientationLandscapeRight</string>
just before

Code:
 /dict>
</plist>
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.