UITableViewCell的高度緩存

讓UITableViewCell高度自適應的方法有兩種 一、對UITableView進行設置緩存 tableView.rowHeight = UITableViewAutomaticDimension; 複製代碼 二、經過代理返回bash - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa
相關文章
相關標籤/搜索