mirror of
https://github.com/DmcSDK/cordova-plugin-mediaPicker
synced 2026-05-03 00:00:04 +08:00
Add files via upload
This commit is contained in:
@@ -45,6 +45,11 @@
|
||||
}
|
||||
|
||||
NSMutableArray * aListArray=[[NSMutableArray alloc] init];
|
||||
if([selectArray count]<=0){
|
||||
[self.commandDelegate sendPluginResult:[CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsArray:aListArray] callbackId:callbackId];
|
||||
return;
|
||||
}
|
||||
|
||||
dispatch_async(dispatch_get_global_queue (DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
|
||||
int index=0;
|
||||
for(PHAsset *asset in selectArray){
|
||||
|
||||
Reference in New Issue
Block a user