I've got my webview rounding its corners out nicely:
[[self.webView layer] setCornerRadius:4];
[self.webView setClipsToBounds:YES];
However I was looking to try and only round the bottom corners, and leave the top corners square. I found some old code from a few years ago on StackOverflow that uses layer masking, but its pretty old and I'm wondering if anyone has come up with a better/cleaner way of doing it?
Thanks