title: UIView with round corner and white border
body: <p>Due to <code>UIProgressHUD</code> need to access private api,
  so I hope to construct an <code>UIView</code> with round corner and white border.
  I know to make the corner round is:</p>
  
  <pre><code>view.layer.cornerRadius = 5;
  </code></pre>
  
  <p>But how to make the uiview has round corner and white border at the same time?</p>
  
  <p>Welcome any comment</p>
  
  <p>Thanks
  interdev</p>