The problem occurs when you try to process a string as an image:
UIImage *img = [animal objectAtIndex:currentImage];
animal , dict, , dictionaryWithContentsOfFile:. NSString, NSData, NSDate, NSNumber, NSArray NSDictionary. UIImage , dictionaryWithContentsOfFile:, .
NSString UIImage. , , : , , URL, , . , , img . ,
UIImage *img = [UIImage imageNamed:[animal objectAtIndex:currentImage]];
, .