摘要:
利用masonry实现如下图的布局格式:实现代码如下: 1 //设置约束 2 - (void)setTheConstraintForProgress { 3 //开始 4 [self.startBtn mas_makeConstraints:^(MASConstraintMaker ... 阅读全文
摘要:
1 //抽出一个按钮 2 - (UIButton *)buttonWithTitle:(NSString *)title action:(SEL)action{ 3 UIButton *button = [[UIButton alloc] init]; 4 [button setT... 阅读全文