警告:当从不同的 Objective-C 类型传递 'setFont:' 的参数 1 时,不兼容的 Objective-C 类型'struct NSArray *',预期的'struct UIFont *'
代码如:
lblTemp.font = [UIFont fontNamesForFamilyName:@"Arial"]; // Warning comes here
lblTemp.font = [UIFont fontWithName:@"Arial-BoldMT" size:13];
[cell.contentView addSubview:lblTemp];
[lblTemp release];
请提出一些建议来解决它。