在iOS3.0之后的版本不再使用这样的语法,解决方法如下:
将:

cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];  

  修改为:

cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];  

参考:
http://forums.macrumors.com/archive/index.php/t-1239790.html 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
猜你喜欢
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2022-03-09
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案