NSArray * array = [[[NSUserDefaults standardUserDefaults] objectForKey:@"Top"] mutableCopy];
NSString * cellValue = [array objectAtIndex:indexPath.row];
我得到这个错误:
potential leak of an object stored into "array"
如何在不迁移到ARC的情况下解决此问题。请帮助,并提前感谢一百万!
NSArray * array = [[[NSUserDefaults standardUserDefaults] objectForKey:@"Top"] mutableCopy];
NSString * cellValue = [array objectAtIndex:indexPath.row];
我得到这个错误:
potential leak of an object stored into "array"
如何在不迁移到ARC的情况下解决此问题。请帮助,并提前感谢一百万!