我调用此takePicture
函数 5 次,因为我需要在点击时拍摄 5 张照片(连拍模式)
for(count=0;count<5;count++)
{
[picker takePicture];
[NSThread sleepForTimeInterval:0.5];
[[NSRunLoop currentRunLoop] runMode: NSDefaultRunLoopMode beforeDate: [NSDate date]];
}
我收到此错误UIImagePickerController: ignoring request to take picture; image is already being captured or camera not yet ready
。