I want to ask whether it is possible to resize the accessory buttons of a UITableViewCell
. Also I want to resize the buttons in edit mode. For example in normal mode, I want a bigge开发者_运维知识库r detail disclosure button, and in edit mode I want a bigger delete button and bigger red minus button. I have this issue because I want to use it on the iPad, which has a bigger screen than the iPhone.
You cannot modify the existing edit buttons, but you can provide your own with the accessoryView and editingAccessoryView properties on UITableViewCell
. These let you change the view displayed on the right-hand side of the cell.
To change the view on the left you need to have a custom cell and override setEditing:
to insert/animate-in your own custom view.
精彩评论