Shadowed view using a rectangular shadowPath I recently had to improve the performance of a few views that utilized CALayer-based shadows on rounded-rect UIView objects. On this particular iPad application, when the device was rotated, the views rotated quite a lot slower than we would have hoped. It wasn’t a show-stopper, but the jerky rotation animation made it look cheap and unpolished. The eas
![Fun shadow effects using custom CALayer shadowPaths | iOS/Web Developer's Life in Beta](https://cdn-ak-scissors.b.st-hatena.com/image/square/1b99c037bdd71ab403f26f4eb3f56f9e456e7f83/height=288;version=1;width=512/http%3A%2F%2Fnachbaur.com%2Fwp-content%2Fuploads%2F2010%2F11%2Fshadow-4.png)