-
-
Save BrettRToomey/728c6f68ffbae47aa0b1638229e7367e to your computer and use it in GitHub Desktop.
Add a border to a UIButton. Original code - http://stackoverflow.com/a/21881788/1077789
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
You have to move :
let border = CALayer() border.backgroundColor = color.CGColor
into for loop to make it works properly on iOS 10.3 (didn't test your code in another version).
Thanks