带点击效果的扁平化风格圆形iOS按钮:DKCircleButton
jopen
10年前
DKCircleButton 实现了带点击产生声纳效果,扁平化(Flat UI)风格的圆形iOS按钮。
示例代码:
- (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]; }
项目主页:http://www.open-open.com/lib/view/home/1404436041592