ios implements the method of file comparison

  • 2020-05-09 19:21:47
  • OfStack

This object c code is used to check that the contents of two files with specified paths are identical


if ([fileManager contentsEqualAtPath:@"FilePath1" andPath:@" FilePath2"]) {
   NSLog(@"Same content");
}

That's all for this article, I hope you enjoy it.


Related articles: