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

Sergio10

macrumors regular
Original poster
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
 
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.