1. 首页
  2. 移动开发
  3. iOS
  4. 动态显示tableview 的高 DynamicHeights.zip 源码
下载地址
用户评论
码姐姐匿名网友 2025-03-19 10:51:07

挺好的,挺有学习帮助的

码姐姐匿名网友 2025-03-19 06:48:49

谢谢分享,这个动态cell高度的demo对我很有帮助。 ------------------- 源代码在6.0版本模拟器运行正常。 因为demo写于09年, UILineBreakModeWordWrap; cell=[[[UITableViewCellalloc]initWithFrame:CGRectZeroreuseIdentifier:@"Cell"]autorelease]; 现在这两种写法已经废弃了。