http://*.com/questions/3946797/cgaffinetransformmakescale-makes-uiview-jump-to-original-size-before-scale
So there are two types of Scale (or, transform in general) functions: CGAffineTransformMakeScaleand CGAffineTransformScale
The first one, CGAffineTransformMakeScale
which you are using, always transforms with respect to the image's original size. And that is why you see the jump to its original size before the scaling happens.
The second one, CGAffineTransformScale
, transforms from the image's current position. This is what you need. For this, it requires an additional 'transform' arg. The 'transform' arg in your case represents the enlarged image.
Read this very informative blog post about transformations.
Dot notation for message sending is not supported in lldb. Use bracket notation and cast the result to CGRect:
p (CGRect)[view frame]