- (BOOL)image:(UIImage*)image1 isEqualTo:(UIImage*)image2
{
NSData *data1 = UIImagePNGRepresentation(image1);
NSData *data2 = UIImagePNGRepresentation(image2);
return[data1isEqual:data2];
}
- (BOOL)image:(UIImage*)image1 isEqualTo:(UIImage*)image2
{
NSData *data1 = UIImagePNGRepresentation(image1);
NSData *data2 = UIImagePNGRepresentation(image2);
return[data1isEqual:data2];
}