访问前置摄像头.iPhone/iPod 4 [英] Accessing the front facing camera. iPhone/iPod 4
本文介绍了访问前置摄像头.iPhone/iPod 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿,我想知道如何访问前置摄像头.也许有一些指南?但我不想要所有按钮等.我只想从面向相机访问,我不喜欢按钮来拍照或类似的东西.
Hey I was wondering how I can access the front facing camera. Maybe there's some guide for it? But I don't want all buttons etc. I just want to access the from facing camera, I don't ant the button to take a photo or anything like that.
推荐答案
你可以像这样访问前置摄像头:
You can access the front facing camera like:
picker.cameraDevice = UIImagePickerControllerCameraDeviceFront;
查看 UIImagePickerController 类参考
这篇关于访问前置摄像头.iPhone/iPod 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文