Hi all, i have a question, totally newbie but i would like to know how can i get to compare and image in an if else statement?
i have an image lets say it is "img.png" and i have it displayed in an imageview already in the application, however in the codes i would like to compare if the image show is "img.png"
I understand that for string we use the isEqualToString:, so if it's for an image what would i use?
example would be :
if ([img.image isEqual:@"img.png"])
What i've typed is something like this but it isnt working. could anyone point me in the right direction? thanks alot
Much appreciated!