On 8/20/10, Ignacio Enriquez <[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to