I\'m trying to animation the transition of a CALayer from normal corners to rounded corners. I only want to round the top corners, so I am using a UIBezierPath. Here\'s the
Found a really elegant solution from Andrew Wagner here.
Esstentially the system will handle all path change animations, all you need is to:
actionForKey