![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
unbutton
xpp_xue
这个作者很懒,什么都没留下…
展开
-
button点击设置背景色
1,通过按钮的事件来设置背景色 - (void)viewDidLoad { [super viewDidLoad]; UIButton *button1 = [[UIButton alloc] initWithFrame:CGRectMake(50, 200, 100, 50)]; [button1 setTitle:@"button1" forState:UIControlStat转载 2016-09-07 12:20:22 · 1486 阅读 · 0 评论 -
解决多次点击按钮 执行多次方法
- (void)myButtonClicked:(id)sender { //取消此方法 [[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(doSth:) object:sender]; [self performSelector:@selector(doSth:) wit转载 2016-11-08 18:24:19 · 704 阅读 · 1 评论 -
uibutton图标文字排列
https://www.cnblogs.com/oc-bowen/p/5851849.html转载 2017-11-14 14:57:18 · 302 阅读 · 0 评论