Ste*_*eve 2 iphone uitableview ios4 ios
你可以帮我修复这个方法initWithFrame:不再使用reuseIdentifier:
static NSString *CellIdentifier = @”Cell”;
CustomCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[CustomCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
}
Run Code Online (Sandbox Code Playgroud)
Thx提前,
斯特凡
| 归档时间: |
|
| 查看次数: |
2255 次 |
| 最近记录: |