Assertion failure in UITableViewCell layoutSublayersOfLayer解决办法

iOS6 设备在更新UITableViewCell的时候遇到了

Assertion failure in -[UITableViewCell layoutSublayersOfLayer:], /SourceCache/UIKit/UIKit-2380.17/UIView.m:5776

的问题,

解决方法是,把UITableViewCell里面的控件的添加方式由

[self addSubview:self.titleLabel];

改成

[self.contentView addSubview:self.titleLabel];
原文地址:https://www.cnblogs.com/bugismyalllife/p/4872156.html