+ (UITableViewCell *)inputCell {
UITableViewCell *cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"id"];
cell.selectionStyle = UITableViewCellSelectionStyleNone;
cell.textLabel.font = [UIFont boldSystemFontOfSize:14];
return cell;
}
Xcode에서 메모리 누수가 발생했습니다. 나는 세포 초기화 중 및 반환 중에 자동 해제를 시도했지만 응용 프로그램이 두 경우에 추락했습니다.어떻게 메모리 누수를 해결할 수 있습니까?
-inputCell
를 호출하는 곳에서 코드에 문제가없는 한 – Jorge