Re: CoreAnimation - Resizing sublayers along with superlayer animation
Re: CoreAnimation - Resizing sublayers along with superlayer animation
- Subject: Re: CoreAnimation - Resizing sublayers along with superlayer animation
- From: Eric Wing <email@hidden>
- Date: Fri, 20 Aug 2010 17:46:43 -0700
On 8/20/10, Ignacio Enriquez <email@hidden> wrote:
> Hi,
>
> I have a subclass of CALayer (below self) and it has a sublayer (textLayer).
> I want self to be shrank and enlarges, so I created animations like
> the following:
<snip>
> self is animated as expected but sublayer textLayer is not resized, it
> just changes its position according to the new bounds of self
>
> I would like to have the same effect when animation view, they resize
> automatically their subviews and/or sublayers
I think this is the essentially the same question asked in the thread
"Core Animation. issue with scaling", which I just responded to. Check
that thread and see if that helps you.
-Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden