How do I get a CGAffineTransformMakeScale to shrink a view around its center?

Posted by Elon on Stack Overflow See other posts from Stack Overflow or by Elon
Published on 2010-05-03T21:39:34Z Indexed on 2010/05/03 22:48 UTC
Read the original article Hit count: 610

This should be an easy one -- when I use a CGAffineTransformMakeScale on a UIView with width and height = 0.5, it shrinks to the upper left. I need it to shrink around its center. What do I need to do? Thanks!

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0

Related posts about uiview