IOS 如何在不按下拍摄按钮的情况下以编程方式从 IPhone 相机场景中获取图像?
IOS How to get image from IPhone camera scene by programmatically without press shoot button?
我正在尝试从相机获取图像并自动将其发送到服务器。
所以我想知道如何在不按下拍摄按钮的情况下从 iphone 相机场景中捕捉图像。
请帮忙。
谢谢
我认为这是不可能的。使用 Camera 接口捕获图像将触发 UIImagePickerControllerDelegate
方法。只有当您通过相机快门 button/image 裁剪器选择图像时,才会调用代理。
How to save photos taken using AVFoundation to Photo Album?
我使用这段代码并解决了问题。
https://developer.apple.com/library/content/samplecode/AVCam/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010112
AV Cam-iOS也能解决我的问题
谢谢大家
我正在尝试从相机获取图像并自动将其发送到服务器。
所以我想知道如何在不按下拍摄按钮的情况下从 iphone 相机场景中捕捉图像。
请帮忙。
谢谢
我认为这是不可能的。使用 Camera 接口捕获图像将触发 UIImagePickerControllerDelegate
方法。只有当您通过相机快门 button/image 裁剪器选择图像时,才会调用代理。
How to save photos taken using AVFoundation to Photo Album? 我使用这段代码并解决了问题。
https://developer.apple.com/library/content/samplecode/AVCam/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010112 AV Cam-iOS也能解决我的问题
谢谢大家