Closed VaibhaviOSGeek closed 8 years ago
I can save video to Documents of Mac ,but could not save video file to real device using Here is my code ,What I've done so far
ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init]; glim=[[Glimpse alloc]init]; [glim startRecordingView:self.view onCompletion:^(NSURL *fileOuput) { NSLog(@"File Output :%@",fileOuput.absoluteString); if (fileOuput) { if ([library videoAtPathIsCompatibleWithSavedPhotosAlbum:fileOuput]) { [library writeVideoAtPathToSavedPhotosAlbum:fileOuput completionBlock:^(NSURL *assetURL, NSError *error){} ]; } } }];
I can save video to Documents of Mac ,but could not save video file to real device using Here is my code ,What I've done so far