Prevent indentation of UITableViewCell (contentView) while editing

前端 未结 9 762
心在旅途
心在旅途 2020-12-05 02:38

Is it possible to keep the contentView.frame always the same, regardless of tableView.editing? I already tried to override layoutSubviews

9条回答
  •  渐次进展
    2020-12-05 03:09

    Based on Usman.3D

    On the storyboard, a property indent While Editing is checked by default. It can be unchecked manually. It equals to cell.shouldIndentWhileEditing = NO.

提交回复
热议问题