Rounding only some corners won't play nice with auto resizing or auto layout.
So another option is to use regular cornerRadius
and hide the corners you don't want under another view or outside its superview bounds making sure it is set to clip its contents.