DKCircleButton
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/kronik/DKCircleButton
软件介绍
DKCircleButton 实现了无需图片实现扁平化(Flat UI)风格的圆形按钮,并且有不错的点击按钮的效果。
示例代码:
- (void)viewDidLoad {
[super viewDidLoad];
DKCircleButton *button1 = [[DKCircleButton alloc] initWithFrame:CGRectMake(0, 0, 90, 90)];
button1.center = CGPointMake(160, 200);
button1.titleLabel.font = [UIFont systemFontOfSize:22];
}
