使用xcode访问后置摄像头,iphone iOS5
如果这个问题已经得到解答,我很抱歉...
我需要的只是如何启动后置摄像头并将其显示在图像视图中...不拍照,不访问照片库,只需打开相机。 ..简单的。
我相信 AVCapture 是值得使用的东西,但我研究的任何东西都比我需要的要深入,而且我只是不那么聪明。任何帮助表示赞赏。
谢谢!
I'm sorry if this is already answered...
All I need is how to fire up the rear facing camera and display it in an image view...no taking pictures, no accessing the photo library, just turning on the camera...simple.
I believe AVCapture is the thing to use, but anything I look into goes way deep than I need and I'm just not that smart. Any help is appreciated.
THANKS!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AVCam Apple 的示例是最好的起点。请注意,显示摄像机的实时视频预览看似简单的任务并不简单。
The AVCam sample from Apple is the best place to start. Be warned that the seemingly simple task of displaying a live video preview from the camera is non-trivial.