Re: Coordinating animation of layers with a UIView animation

2012-11-06 Thread Luke Hiesterman
After setting up your UIView animation, you can introspect the animation timing by looking at the respective view's layer.animations. Your can then apply that animation to your sublayer. For bonus points, just start using a subview instead of a sublayer :) Luke On Nov 6, 2012, at 5:09 AM, "Ro

Coordinating animation of layers with a UIView animation

2012-11-06 Thread Roland King
I have a UIView which frame I am animating to a new location/size using [ UIView animateWithDuration:animations ]. The view's layer has a custom sublayer which it's laying out either in layoutSubviews or layoutSublayersOfLayer:, either seems to work. That sublayer is also moving to a new positio