1.将图片转成二进制数据
NSDatadata1 = UIImageJPEGRepresentation(image1, 1.0);
NSDatadata2 = UIImageJPEGRepresentation(image2, 1.0);
if([data1 isEqualToData:data2]){
}
1.将图片转成二进制数据
NSDatadata1 = UIImageJPEGRepresentation(image1, 1.0);
NSDatadata2 = UIImageJPEGRepresentation(image2, 1.0);
if([data1 isEqualToData:data2]){
}