UITableViewRowAction title as image icon instead of text

前端 未结 8 1970
谎友^
谎友^ 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:28

    I was looking to do the same thing and found an answer here. It is a bit of a workaround.

    Also, as seen from the iOS 9 betas, I think this will be possible, but I have not yet looked at the APIs.

提交回复
热议问题