I just updated my Xcode ver from 7.3 to 8.0, and some button borders have disappeared.
The code looks great, so I really don't know what happened to the layers. btw - in some other controllers I see layer boundaries.
self.button.layer.borderColor = borderColor.CGColor; self.button.layer.borderWidth = 2; self.button.layer.cornerRadius = CGRectGetHeight(self.button.frame) / 2;
before: (Image for example only - borders look different in real time)

Now:

ios iphone xcode xcode8 uibutton
Asi givati
source share