Breaking News
Home / iOS / iOS Snippets / How to adjust the height of UITableCellView?

How to adjust the height of UITableCellView?

Answer

The UITableViewDelegate provides various delegate methods the can be used to customize and build the table view. For the adjusting the height of the table cell implement the following delegate method

  1. (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
  2. {
  3.      // return the height of the cell in pixels
  4.      return  60;
  5.    
  6. }
[pb_builder]

Check Also

EKCalendar – That account does not allow calendars to be added or removed

Usecase When I am trying to create a new Calendar programmatically using the EventKit API …

Advertisment ad adsense adlogger