由於[AVCaptureVideoPreviewLayer setOrientation]
在iOS 6中已被棄用,我嘗試使用[AVCaptureConnection videoOrientation:AVCaptureVideoOrientationLandscapeLeft];
,但我收到一條錯誤消息:「AVCaptureConnection沒有可見的@interface聲明選擇器'videoOrientation'。」我一直在研究對於iOS 6的AVCaptureVideo SDK,但我沒有運氣。我也嘗試重新創建AVCaptureConnection,但我沒有這樣做的運氣。以下是我部分使用的代碼的Web引用。 http://red-glasses.com/index.php/tutorials/ios4-take-photos-with-live-video-preview-using-avfoundation/AVCaptureVideoPreview Orientation iOS 6
1
A
回答
1
哇。男孩我覺得很蠢[AVCaptureConnection setVideoOrientation:AVCaptureVideoOrientation];
相關問題
- 1. ios 6 orientation
- 2. iOS Face Up Orientation問題
- 3. AsyncTask with ProgressDialog vs orientation orientation
- 4. iPhone iOS 6 UITabBarController僅限肖像,如何讓Modal View Controller支持Landscape Orientation
- 5. orientation Android
- 6. Chromecast Orientation
- 7. text orientation flexgrid
- 8. ViewPager + FragmentStatePagerAdapter + orientation change
- 9. XNA/Directx Handedness(orientation)?
- 10. Binary Image Orientation
- 11. orientation tablet vs phone
- 12. Force UIViewController orientation
- 13. Image Orientation(python + openCV)
- 14. Force iPhone Orientation
- 15. android display orientation
- 16. Android Orientation phonegap版
- 17. page footer orientation
- 18. JQM Orientation SVG Scale
- 19. Windows Phone PhotoCamera orientation
- 20. Javascript Object orientation + DOM?
- 21. Xcode Storyboard Modal Transitions&Orientation
- 22. VideoView&Fullscreen&Orientation changes - Android
- 23. 「orientation | keyboardHidden」not calling onConfigurationChanged
- 24. deferredLocationUpdate iOS 6
- 25. IOS 6 UISegmentedControl
- 26. IOS 6和NSDateFormatter
- 27. iOS的Nslocalization 6
- 28. 的iOS 6:線
- 29. ios 6 presentViewController
- 30. IOS 6方向