-1

I know when we set the height of cell to 91 it shows both image and text vertically but I want horizontally side by side without setting height.

ttppbb
  • 65
  • 8

2 Answers2

0

You won't be able to do it with UIContextualAction. Try making your own custom component if you really need it to look like that.

0

there is trick we can do that in existing image view in swipe like deleteAction.image = textToImage(inImage: UIImage(named: imageName)!, drawText: imageTitle, atPoint: CGPoint(x: 0, y: 0)) you need to create your own function textToImage