开发者

how to display video in landscape mode at the start of the application means after launching

ho开发者_Python百科w to display video in landscape mode at the start of the application means after launching


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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜