Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having issue to Save fileOutPutUrl to device #4

Closed
VaibhaviOSGeek opened this issue Mar 14, 2014 · 0 comments
Closed

Having issue to Save fileOutPutUrl to device #4

VaibhaviOSGeek opened this issue Mar 14, 2014 · 0 comments

Comments

@VaibhaviOSGeek
Copy link

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){}
             ];
        }

    }

}];
@wess wess closed this as completed in 5b1ba46 Mar 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant