开发者

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

开发者 https://www.devze.com 2023-01-02 04:25 出处:网络
ho开发者_Python百科w to display video in landscape mode at the start of the applicationmeans after launchingIn your applications .plist settings file you can specify which orientations your applicatio

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

精彩评论

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