How to increase the single row height without reloading UITableView or individual cells [Swift]?

前端 未结 6 639

I want to expand the row height and show the content inside. I show my content in view I want when I tap on a cell it should expand like showed in the image

6条回答
  •  抹茶落季
    2020-12-17 18:17

    Supposing that the logic to expand your TVC is working, you just need to call table view methods beginUpdates and endUpdates. Those method should wrap your update to the TVC.

提交回复
热议问题