美文网首页
UITabelViewController 返回cell总结

UITabelViewController 返回cell总结

作者: 摩了个羯 | 来源:发表于2016-05-14 16:41 被阅读0次

第一种返回cell 的方法 可以设置系统cell类型的方法  CellForRowAtIndexPath方法中(不附带indexPath)

第二种 返回cell的方法 (常用的方法 自定义cell的方法)

1.先在viewDidLoad 里面  注册cell

2.在(UITableViewCell *)方法里面 返回cell 方法中 (添加带forIndexPath)

相关文章

网友评论

      本文标题:UITabelViewController 返回cell总结

      本文链接:https://www.haomeiwen.com/subject/ujgmrttx.html