草庐IT

backroundView

全部标签

ios - Storyboard中 UITableViewCell 的 backroundView 属性设置运行时错误

在使用静态内容TableView的Storyboard中。我添加了一个表格View单元格。我在其中添加了一个View和一个标签。当我将View分配为单元格的背景View(ctrl+单击并从单元格拖动到View)时,我在加载tableview后运行时遇到以下错误。Terminatingappduetouncaughtexception'NSInternalInconsistencyException',reason:'AutoLayoutstillrequiredafterexecuting-layoutSubviews.UITableViewCell'simplementationof