对不起,如果这已经回答...
我所需要的只是如何启动后置摄像头并将其显示在图像视图中……不拍照,不访问照片库,只需打开相机……简单。
我相信 AVCapture 是可以使用的东西,但是我研究的任何东西都比我需要的要深入得多,而且我并不那么聪明。任何帮助表示赞赏。
谢谢!
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.