UITableViewCell编辑修改整体frame

在自定义CELL中加入此方法:

- (void)layoutSubviews

{

    [super layoutSubviews];

    

    if ([super isEditing]) {

        //编辑时的需要的frame

    }else {

        //取消编辑时的需要的frame

    }

}

你可能感兴趣的:(UITableViewCell编辑修改整体frame)