S Sergio10 macrumors regular Original poster May 3, 2009 #1 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
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
X x12 macrumors newbie May 20, 2009 #2 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>
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>