Open 2240054474 opened 7 years ago
添加第二个属性时崩溃到了NSMutableAttributedString(Gallop)里的- (void)setAttribute:(NSString *)name value:(id)value range:(NSRange)range { if (!name || [NSNull isEqual:name]){ return; } if (value && ![NSNull isEqual:value]) { [self addAttribute:name value:value range:range]; // 崩溃 }else { [self removeAttribute:name range:range]; } }
添加第二个属性时崩溃到了NSMutableAttributedString(Gallop)里的- (void)setAttribute:(NSString *)name value:(id)value range:(NSRange)range { if (!name || [NSNull isEqual:name]){ return; } if (value && ![NSNull isEqual:value]) { [self addAttribute:name value:value range:range]; // 崩溃 }else { [self removeAttribute:name range:range]; } }