UICachedDeviceWhiteColor leak looks like a bug in the apple code when cell is loaded from the nib file.
Solution:
in
-(UITableViewCell *) tableView: (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath
{
NSAutorelease * pool = [[NSAutorelease alloc] init];
//gets your cell from the nib file
[cell retain];
[pool release];
return cell;
}
This didn't solve the problem. I had to write the custom cell by myself.
ReplyDelete