I'm not sure what what eitan27 says will work as an alternative, I would say that your best hope is to compare NSData objects. But this, as you can see, will become very tedious, since the library will have n number of images and comparing each of them for repetition does not make sense, but if you want to compare the data, you look at this one , which will give you a fraction of how comparable data.
source share