Change Height of a UITableViewCell

后端 未结 5 1439
一整个雨季
一整个雨季 2021-02-13 04:36

I want to make a UITableViewCell bigger. How can I do this, I have tried adjusting its frame but nothing happens. What can I do?

5条回答
  •  一整个雨季
    2021-02-13 05:02

    You need to implement the

    - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
    

    method in your UITableViewDelegate.

提交回复
热议问题