let heightInPoints = image.size.heightlet heightInPixels = heightInPoints * image.scalelet widthInPoints = image.size.widthlet widthInPixels = widthInPoints * image.scale
Use the size property on the UIImage instance. See the documentation for more details.
size
UIImage *img = [UIImage imageNamed:@"logo.png"];CGFloat width = img.size.width;CGFloat height = img.size.height;