首页 > 其他 > 详细

用xib定义UITableViewCell

时间:2015-10-20 21:21:11      阅读:232      评论:0      收藏:0      [点我收藏+]

在xib中重新定义了UITableViewCell后,要在继承了UITableViewCell的.m文件中,实现方法:

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {

    [super setSelected:selected animated:animated];

 

    // Configure the view for the selected state

}

 

不然表格cell中的按钮控件不能点击

用xib定义UITableViewCell

原文:http://www.cnblogs.com/aminopeptidase/p/4896002.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!