how to display video in landscape mode at the start of the application means after launching
views:
22answers:
1
A:
In your applications .plist settings file you can specify which orientations your application supports. If you only require you application to show video in horizontal right after start the you specify:
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationLandscapeRight</string>
Also I believe that iOS versions over 3.1 allows you to use something like:
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
Thomas Børlum
2010-09-27 07:00:04