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];

 

 

如果你不是在wb145230博客园看到本文,请点击查看原文.

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-11-18
  • 2022-12-23
相关资源
相似解决方案