Based on the responses to a previous question, I\'ve created a category on UIImageView for extracting pixel data. This works fine in the simulator, but not when deployed to
It looks like that in the code posted in the original questions instead of:
NSUInteger x = (NSUInteger)floor(point.x); NSUInteger y = height - (NSUInteger)floor(point.y);
It should be:
NSUInteger x = (NSUInteger)floor(point.x); NSUInteger y = (NSUInteger)floor(point.y);