Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 基于phonegap的连续图像捕获_Iphone_Ios_Cordova_Phonegap Plugins - Fatal编程技术网

Iphone 基于phonegap的连续图像捕获

Iphone 基于phonegap的连续图像捕获,iphone,ios,cordova,phonegap-plugins,Iphone,Ios,Cordova,Phonegap Plugins,有没有办法在摄像机上每秒钟捕捉一幅图像。我正在使用phonegap摄像头API捕捉图像,它工作正常。不,我需要在不按“捕获”按钮的情况下每秒捕获一个图像。可能吗 谢谢您可以使用NSTimer: 我发现ARviewer phoneGap(增强现实)可以编辑代码,查看它们如何实现摄像头和图形数据区域。 myTimerShoot = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(mySnapshot

有没有办法在摄像机上每秒钟捕捉一幅图像。我正在使用phonegap摄像头API捕捉图像,它工作正常。不,我需要在不按“捕获”按钮的情况下每秒捕获一个图像。可能吗

谢谢

您可以使用NSTimer:

我发现ARviewer phoneGap(增强现实)可以编辑代码,查看它们如何实现摄像头和图形数据区域。
myTimerShoot = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(mySnapshotMethod) userInfo:nil repeats:YES];