UITableViewRowAction title as image icon instead of text

前端 未结 8 1974
谎友^
谎友^ 2020-12-07 22:53

I want put the icon (image) instead of text in swipe actions in tableviewCell in Swift.

But i dont how to put the image instead of title text?

My code is be

8条回答
  •  情深已故
    2020-12-07 23:13

    If you use answer of "Apps Wise"(https://stackoverflow.com/a/32735211/6249148), you can use this table for common unicode characters: https://tutorialzine.com/2014/12/you-dont-need-icons-here-are-100-unicode-symbols-that-you-can-use

    Or this one for ALL unicode characters: https://unicode-table.com/en/#control-character

提交回复
热议问题