问题

I need to create a custom cell in which there will be a imageview of maximum size 100 X 100. but if image is not there then its(ImageView) height should be 0.
How to specify constraint for this in xib ?
In first Image there is no image so two button (heart and comment) should automatically goes up(just below hello message).
来源:https://stackoverflow.com/questions/30896856/simageview-in-custom-uitableviewcell