I am trying to compare an image from a button with another image but its not working as expected and as stackoverflow suggestions...
if (favoriteButton.imageView.image == [UIImage imageNamed:@"favorite.png"]) {
NSLog(@"yes!");
}
anything else I can do? I tried to get the image file name but it seems to be impossible.