iosobjective-cuitableview

Increasing the height of the table view cell's default accessory type


I am using UITableViewCellAccessoryCheckmark for my table view cell. I want to know whether it is possible to increase the height of this default accessory type programmatically or else using the custom image is the only option. I want to do this because I want a slightly bigger checkmark for my cell.


Solution

  • The size of the checkmark accessory type cannot change..... What you can do is add a UIButton or a UIImageview in the UITableViewCell and on its click perform an action.... Adding an image to the cell is relatively easy....