会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
pretty guy
个人新博客:https://wukongcoo1.github.io/ qq群:578056211
博客园
首页
新随笔
联系
管理
订阅
2016年7月19日
使用关联对象(AssociatedObject)为UIButton添加Block响应
摘要: 在开发中,要给UIButton添加点击事件的话,通常的做法是这样的 UIButton *button = [UIButton buttonWithType:UIButtonTypeSystem]; [button addTarget:self action:@selector(touchButton
阅读全文
posted @ 2016-07-19 22:16 pretty guy
阅读(719)
评论(0)
推荐(0)
编辑
公告