开发者

Customizing Edit button in UITableview

开发者 https://www.devze.com 2023-03-16 06:44 出处:网络
Can we customize the edit button as we customize the delete button in tableview. `` As you see in pic the edit button is in red colored circle, I need to customize the t开发者_如何学Pythonhis butto

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

``

Customizing Edit button in UITableview

As you see in pic the edit button is in red colored circle, I need to customize the t开发者_如何学Pythonhis button is it possible.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号