IOS How to Comparing two file contents
NSFileManager *fileManager = [NSFileManager defaultManager];
if ([fileManager contentsEqualAtPath:@"FilePath1" andPath:@" FilePath2"]) {
NSLog(@"Same content");
}
NSFileManager *fileManager = [NSFileManager defaultManager];
if ([fileManager contentsEqualAtPath:@"FilePath1" andPath:@" FilePath2"]) {
NSLog(@"Same content");
}
Comments
Post a Comment