I use auto layout and constraints in my custom cell, which include imageView,UILabel
, and the UILabel
can auto adjust the content height(I useUITableViewAutomaticDimension
).
Now i want to remove cell'simageView
in demo(i setimageView
nil), i can do that, but i can't change the cell's height small.What should i do, thank you very much.
You can override the UITableView function