Open samllOranges opened 10 months ago
项目中出现了一些崩溃,就设置个color,font等都会与崩溃,偶现,例如 NSMutableAttributedString attributing = [[NSMutableAttributedString alloc] init]; NSMutableAttributedString nameString = [[NSMutableAttributedString alloc] initWithString:@"𝐊𝐇 ⁵ ¹ ¹ F²"]; nameString.yy_color = [UIColor whiteColor];//这句代码进去,最终蹦到- (void)yy_setAttribute:(NSString *)name value:(id)value range:(NSRange)range里面,有大神知道怎么解决吗?
你这个问题解决了吗?
项目中出现了一些崩溃,就设置个color,font等都会与崩溃,偶现,例如 NSMutableAttributedString attributing = [[NSMutableAttributedString alloc] init]; NSMutableAttributedString nameString = [[NSMutableAttributedString alloc] initWithString:@"𝐊𝐇 ⁵ ¹ ¹ F²"]; nameString.yy_color = [UIColor whiteColor];//这句代码进去,最终蹦到- (void)yy_setAttribute:(NSString *)name value:(id)value range:(NSRange)range里面,有大神知道怎么解决吗?