iphone - How can I delete video stored in the photo library? -


i have saved video in photo library.

-(void)exportvideo:(id)sender {     nsstring *path = [documents_folder stringbyappendingstring:@"/air.mp4"];     nslog(@"path:%@", path);     nslog(@"export button clicked");     uisavevideoatpathtosavedphotosalbum(path, self, @selector(video:didfinishsavingwitherror: contextinfo:), nil); }  - (void)video:(nsstring *)videopath didfinishsavingwitherror:(nserror *)error contextinfo:(void *)contextinfo  {     nslog(@"finished saving video error: %@", error); }   

now need delete video have stored programmatically. how can delete video ?
there functions it?
thank you.

there no public methods in iphone sdk delete items photo library.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -