使用xcode访问后置摄像头,iphone iOS5

发布于 2024-12-21 15:04:17 字数 173 浏览 4 评论 0原文

如果这个问题已经得到解答,我很抱歉...

我需要的只是如何启动后置摄像头并将其显示在图像视图中...不拍照,不访问照片库,只需打开相机。 ..简单的。

我相信 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

中二柚 2024-12-28 15:04:17

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文