Is anyone else struggling with this one. I have managed with all the other challenges but I can’t manage with this one.
I have managed to preserve the aspect ratio of the original image (see below) but otherwise I am stumped!
[code]- (void)setThumbnailDataFromImage:(UIImage *)image
//Create an empty image of size 70 x 70 //CGRect imageRect = CGRectMake(0, 0, 70, 70); //Changed to maintain aspect ratio int width = image.size.width; int height = image.size.height; CGRect imageRect = CGRectMake(0, 0, width, height); ...