I wnat to save video on Camera Roll
self.videopath=@"/var/mobile/Applications/AE75E729-7F10-478B-9DAF-E730EB4231D1/Documents/Videos/12.mp4"
1st Approach:
UISaveVideoAtPathToSavedPhotosAlbum(self.videopath, nil, NULL, NULL);
2nd Approach:
NSURL *movieURL = [NSURL fileURLWithPath:self.videopath];
ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
[library writeVideoAtPathToSavedPhotosAlbum:movieURL
completionBlock:^(NSURL *assetURL, NSError *error){NSLog(@"complete ");}];
None of these two solution is working for me . Thanks in advance