【文件属性】:
文件名称:UIView-Roundify:具有选择性添加圆角的方法的 UIView 类别
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-15 09:08:16
Objective-C
UIView+Roundify
具有选择性添加圆角的方法的 UIView 类别。
用法:
# import " UIView+Roundify.h
...
- (void) viewDidLayoutSubviews {
[super viewDidLayoutSubviews];
[self.someView addRoundedCorners:(UIRectCornerTopLeft | UIRectCornerBottomLeft)
withRadii:(CGSize){16.f, 16.f}];
}
请参阅 Stack Overflow 上的这个。
【文件预览】:
UIView-Roundify-master
----UIView+Roundify.h(802B)
----UIView+Roundify.m(584B)
----README.md(484B)