[Solved] Objective C: How to read from saved files? [closed]


Using NSURLs

NSString *fileName = [NSString stringWithFormat:@"%f.mp4",[[NSDate date] timeIntervalSince1970]];
NSFileManager *fileManager = [NSFileManager defaultManager];

NSURL *documentsDirectoryURL = NSURL *URLForDirectory = [[fileManager URLsForDirectory: NSDocumentDirectory inDomains:NSUserDomainMask] lastObject];
NSURL *fileURL = [NSURL URLWithString:fileName relativeToURL:URLForDirectory];

solved Objective C: How to read from saved files? [closed]