title: Xcode 8 - Some buttons border removed
body: <p>I just updated my Xcode ver from 7.3 to 8.0 and some buttons borders disappeared.</p>
  
  <p>The code looks fine, so I really don't know what happened to the layers.
  btw - in some other controllers I can see the layers borders.</p>
  
  <pre><code>self.button.layer.borderColor = borderColor.CGColor;
  self.button.layer.borderWidth = 2;
  self.button.layer.cornerRadius = CGRectGetHeight(self.button.frame) / 2;
  </code></pre>
  
  <p>before: (The image is only for example - the borders looks different at real time)</p>
  
  <p><a href="https://i.stack.imgur.com/DlUw5.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/DlUw5.jpg" alt="before:"></a></p>
  
  <p>now:</p>
  
  <p><a href="https://i.stack.imgur.com/Xy2qv.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Xy2qv.jpg" alt="now:"></a></p>