Anand
Anand

Reputation: 1973

Customizing Edit button in UITableview

Can we customize the edit button as we customize the delete button in tableview.

``enter image description here

As you see in pic the edit button is in red colored circle, I need to customize the this button is it possible.

Upvotes: 1

Views: 845

Answers (2)

Tariq
Tariq

Reputation: 9979

You have to make your customize UITableViewCell with your own images. And then perform Animation on Edit & Done clicked.

Upvotes: 1

Deeps
Deeps

Reputation: 4577

Not possible with the default delegates and datasource and methods. you need to draw in your own view. Make a custom table view cell, override -touchesBegan:withEvent:, and check for touches. Calculate the delta of the two touches (in touchesMoved:withEvent:) and move your own view around.

Upvotes: 0

Related Questions