Skip to content

Instantly share code, notes, and snippets.

@TheCodeEngine
Last active October 11, 2015 00:08
Show Gist options
  • Save TheCodeEngine/3772148 to your computer and use it in GitHub Desktop.
Save TheCodeEngine/3772148 to your computer and use it in GitHub Desktop.
UIView add round Corner
#import <QuartzCore/QuartzCore.h>
[v.layer setCornerRadius:25.0f];
[v.layer setMasksToBounds:YES];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment