Rounded UIView using CALayers – only some corners – How?
Starting in iOS 3.2, you can use the functionality of UIBezierPaths to create an out-of-the-box rounded rect (where only corners you specify are rounded). You can then use this as the path of a CAShapeLayer, and use this as a mask for your view’s layer: // Create the path (with only the top-left corner rounded) … Read more