Skip to content

Instantly share code, notes, and snippets.

@yfujiki
Created April 17, 2012 15:50
Show Gist options
  • Save yfujiki/2407024 to your computer and use it in GitHub Desktop.
Save yfujiki/2407024 to your computer and use it in GitHub Desktop.
Add Border to UIView in iOS
UIView * view = ...
view.layer.borderColor = color.CGColor;
view.layer.borderWidth = width;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment