访问前置摄像头。 iPhone / iPod 4 [英] Accessing the front facing camera. iPhone/iPod 4
本文介绍了访问前置摄像头。 iPhone / iPod 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿,我想知道如何可以访问前置摄像头。也许有一些指南呢?
但我不想要所有的按钮等。我只是想从面对的相机访问,我不蚂蚁按钮拍摄照片或类似的东西。
选择器可以访问前置摄像头。 cameraDevice = UIImagePickerControllerCameraDeviceFront;
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;
Check out the UIImagePickerController Class Reference
这篇关于访问前置摄像头。 iPhone / iPod 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文