-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Although iOS seems to compare image assets correctly if they are loaded using the imageNamed function on UIImage, this only works because iOS uses the same image in memory for those objects. If the same image is loaded from another source (from the file system, using SDWebImage, etc.), this comparison will not work. To avoid this confusing scenario, an assertion should be added that compares the image data so we can know that two images are identical.