title: Custom UIView changes after second call
body: <p>my first question here :D</p>
  
  <p>I've a Swift based iOS App. Everything is under a TabBarController. 
  So i call Tab 1 and there is a TableView. I click on a cell and everything is fine except this:</p>
  
  <p><a href="https://i.stack.imgur.com/43lEt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/43lEt.png" alt="enter image description here"></a></p>
  
  <p>I try to round the Top corners of a UIView. Now it gets important. I stay on this detail page and change to another Tab.
  Now i click on Tab 1 again and:</p>
  
  <p><a href="https://i.stack.imgur.com/iejct.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iejct.png" alt="enter image description here"></a></p>
  
  <p>It's perfect. But why on the second call? 
  The rounded function is called in viewWillAppear. So it should load on the first call.</p>
  
  <p>Anyone an idea?</p>
  
  <p>Many thanks in advance
  Florian</p>