您的位置:首页 > 产品设计 > UI/UE

Iphone开发笔记--Custom UITableVIewCell

2011-03-07 21:33 323 查看
Custom UITableVIew有时会遇到EXC_BAD_ACCESS

 

可能原因

 

1、调用同类型xib所致

在TeamInfoVC类中调用

NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"teamInfoVC" owner:self options:nil];

// Grab a pointer to the first object (presumably the custom cell, as that's all the XIB should contain).

ImageCell* cell = [topLevelObjects objectAtIndex:0];

 

所以在同个xib下,只能调用一次。或者从其他xib中建立custom tableviecell
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  iphone access object