Hello,
Any ideas why a UIImage's size (width and/or height) would log as null in the console? 'imageview' is a UIImageView located in the associated XIB file and this code exists in the viewWillAppear method:
Code:
NSString *imageFile = [dictionary objectForKey:@"image"];
UIImage *tmpImage = [UIImage imageNamed:imageFile];
imageview.image = tmpImage;
NSLog(@"image.size=%@", imageview.image.size.width);
Thank you.