Skip to content

Commit 6e79b07

Browse files
authored
Update ImageCropPicker.m (#2129)
Select current selected video instead original one
1 parent 3ae287c commit 6e79b07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/src/ImageCropPicker.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ - (void) handleVideo:(AVAsset*)asset withFileName:(NSString*)fileName withLocalI
464464
- (void) getVideoAsset:(PHAsset*)forAsset completion:(void (^)(NSDictionary* image))completion {
465465
PHImageManager *manager = [PHImageManager defaultManager];
466466
PHVideoRequestOptions *options = [[PHVideoRequestOptions alloc] init];
467-
options.version = PHVideoRequestOptionsVersionOriginal;
467+
options.version = PHVideoRequestOptionsVersionCurrent;
468468
options.networkAccessAllowed = YES;
469469
options.deliveryMode = PHVideoRequestOptionsDeliveryModeHighQualityFormat;
470470

0 commit comments

Comments
 (0)