title: Create a UIView with rounded top edge
body: <p>I would like to create an UIView with <strong>rounded top edge</strong> like this image, how can I do it please?</p>
  
  <p>Wanted result</p>
  
  <p><img src="https://i.stack.imgur.com/1jr5R.jpg" alt="Wanted"></p>
  
  <p>Not wanted result</p>
  
  <p><img src="https://i.stack.imgur.com/wLQ8U.png" alt="Not wanted"></p>