iPhone:以编程方式拍摄前置摄像头的照片 [英] iPhone : take photo with front camera programmatically

查看:154
本文介绍了iPhone:以编程方式拍摄前置摄像头的照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的iphone应用程序的前置摄像头以编程方式拍摄照片
i不想让用户选择或做任何与图像选择器的交互..只是想拍摄的图像,并保存它文档..是可能的?

i want to take a picture programmatically by the front camera in my iphone app i don't want the user to pick or do any interaction with the image picker .. just want to take the image and save it in the document.. is that possible?

推荐答案

我可以从你的问题中理解,AV基金会是你需要的。
查看来自Apple的这个演示源: AVCam

As I can understand from your question, AV Foundation is all you need. Look at this demo sources from Apple: AVCam

这篇关于iPhone:以编程方式拍摄前置摄像头的照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆