-1
A
回答
0
韋德蘭Burojević,
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationPortrait)
}
上面的代碼只支持肖像模式..
0
您可以在此編寫代碼。
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationPortrait)
}
相關問題
- 1. Xcode 4支持的設備方向
- 2. iPhone 4不支持Xcode 3.2
- 3. 方向支持
- 4. 支持的方向
- 5. 支持Iphone OS 3.1.2(7D11)的xcode版本?
- 6. 支持方向IOS
- 7. 僅支持縱向方向
- 8. 更改支持的方向
- 9. Xcode 8 IPA文件不支持iPhone 5
- 10. 在iPhone上使用Cocos2d支持不同的方向
- 11. mac os 10.5.8可以支持任何支持iphone os 4.0的xcode版本嗎?
- 12. Iphone 5支持
- 13. 支持iPhone 2.2.1
- 14. 支持iPhone 3G
- 15. 支持方向支持的飛濺活動
- 16. 支持iPhone應用程序向後/向前兼容的推薦方式?
- 17. 如何更改viewController支持的方向?
- 18. 支持的接口方向和shouldAutorotateToInterfaceOrientation
- 19. 不支持iOS6中的方向
- 20. 支持的方向不限制實際的方向
- 21. iPhone - iPhone支持RTSP嗎?
- 22. iPhone的持續集成xcode
- 23. getClientRects在iPhone上支持javascript方法嗎?
- 24. iPhone ASIHTTPRequest支持https?
- 25. 支持的iPhone,iPad,Android的
- 26. iPhone構建使用的Xcode 4.2,它支持4.0版本到5.0
- 27. Xcode中的iPhone模擬器是否支持藍牙低功耗?
- 28. 我的Xcode只支持3.1.2而不是iPhone OS 3.1.3
- 29. iPhone 5s不支持Xcode 6版本的iOS
- 30. iPhone 7上的NFC支持
plist說什麼,你有什麼試過?需要更多信息。 –
支持的接口方向: 項目0肖像(底部主頁按鈕) – vburojevic