摘要: UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect]; /** * 设置frame只能控制按钮的大小 */ btn.frame= CGRectMake(0, 0, 40, 44); [btn addTarget:self 阅读全文
posted @ 2016-04-23 11:48 optt 阅读(1694) 评论(0) 推荐(0) 编辑