开发者

How to customize button in UITableViewCell?

开发者 https://www.devze.com 2022-12-09 02:13 出处:网络
I have implementing listing page in UITableView.Now i am flicking finger on to the table c开发者_运维知识库ell then delete button appear but i want to my custom image insted of delete.Is it possible p

I have implementing listing page in UITableView.Now i am flicking finger on to the table c开发者_运维知识库ell then delete button appear but i want to my custom image insted of delete.Is it possible please give me advise?


You can try to create your own button and add it to your cell as a subView.


There isn't a built in way to change that button, it's part of the standard UI. You could, however, catch the flick yourself, and create your own button that says whatever you want.

I think it might be possible to grab the deleteButton reference and alter it, but that would affect the whole application and isn't a good practice to get into.

0

精彩评论

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