`
lizhuang
  • 浏览: 888641 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

iOS透明UIButton实现方法

阅读更多
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
    UIButton *sbutton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
   
    sbutton.backgroundColor = [UIColor clearColor];
   
    [sbutton addTarget:self action:@selector(changename) forControlEvents:UIControlEventTouchUpInside];

    return sbutton;
   
}
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics