iPhone: scale UIView about a specific point
Posted
by Greg Maletic
on Stack Overflow
See other posts from Stack Overflow
or by Greg Maletic
Published on 2010-05-29T01:28:20Z
Indexed on
2010/05/29
1:32 UTC
Read the original article
Hit count: 331
I want to animate the scaling down of a UIView, but not about its center: about a different point.
As a shot in the dark, I tried translating the view, scaling, then translating back, using a series of CGAffineTransforms. But it doesn't work: it still scales about the center.
Anyone know how to do this?
Thanks very much.
© Stack Overflow or respective owner