Skip to content

Commit

Permalink
fix save video
Browse files Browse the repository at this point in the history
  • Loading branch information
cheekiatng committed Apr 30, 2015
1 parent 09f783b commit 7f26b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/Classes/MediaModule.m
Expand Up @@ -1720,7 +1720,7 @@ - (void)imagePickerController:(UIImagePickerController *)picker_ didFinishPickin
[media setMimeType:@"video/mpeg" type:TiBlobTypeFile];
}
if (saveToRoll) {
NSString *tempFilePath = [mediaURL absoluteString];
NSString *tempFilePath = [mediaURL path];
UISaveVideoAtPathToSavedPhotosAlbum(tempFilePath, nil, nil, NULL);
}
}
Expand Down

0 comments on commit 7f26b01

Please sign in to comment.