hi, please help me. I met a crash:
code:
NSMutableAttributedString* loadingStr = [[NSMutableAttributedString alloc] initWithString:@"Loading..." attributes:[NSDictionary dictionaryWithObjects:@[NSForegroundColorAttributeName,NSFontAttributeName] forKeys:@[[UIColor blackColor],[UIFont systemFontOfSize:14.0f]]]];
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];
[label setAttributedText:loadingStr];
crash:
[UICTFont isEqualToString:]: unrecognized selector sent to instance
thanks:)