iphone - iOS: How do i prevent temporary files Visibility -
I am working on an app that still produces temporary video from the image. But I do not want the user to see the temporary file I created. But when the app is producing a video file, this video lists it by the camera roll.
My question is how can I generate a temporary media file which is ' Camera Roll, iTunes and iCloud '? Please help me in advance thanks. Code: The file is to be written in the camera roll so do not use it, instead you have made temporary video instead (or maybe it already has the
[assetWriter Finish with Finnish writingHandler: ^ {NSURL * url = _outMovieURL; Elasette Library * Library = [[Elsace Library Library] init]; [Write LibraryWidth AudioAppetSite Photo Album: URL ClosingBank: ^ (NS URL * Asset URL, NSER * Error) {NSLog (@ "Don!"); }]; }]; This block:
[assetWriter finishWritingWithCompletionHandler:
documentDirectory When you are making this, you just do not want to write that file in the camera, write a temporary video file in the
documentDirectory in it roll with this code).
Comments
Post a Comment