SLE*_*LEW 9 cocoa-touch uitableview ios
我很好奇在执行插入/删除动画调用后更新UITableView的内容大小.我认为它会像大多数[UIView动画...]块一样,即使动画没有完成,帧大小/内容大小也会立即更新,但它似乎不是这样.有任何想法吗?
小智 0
调用委托关于高度后,内容大小将发生变化:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section;
- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
7086 次 |
| 最近记录: |