Adding a subview larger than cellHeight to a UITableViewCell?

后端 未结 4 1671
情歌与酒
情歌与酒 2020-12-30 04:45

I\'m trying to add a subview to a UITableViewCell and the design that I\'m working from demands that this particular subview (an image) needs to be larger than the actual UI

4条回答
  •  悲&欢浪女
    2020-12-30 05:12

    I had this problem and I made sure my custom tableviewcell's main background had clip subviews checked and it solved the problem. This was with a custom tableview cell loaded from a xib though. Not exactly the same but similar situation.

提交回复
热议问题