_oldPriceLabel.text = @"3500";_oldPriceLabel.textColor = [UIColor lightGrayColor];NSMutableAttributedString *newPrice = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@"¥%@",_oldPriceLabel.text]];[newPrice addAttribute:NSStrikethroughStyleAttributeName value:@(NSUnderlinePatternSolid | NSUnderlineStyleSingle) range:NSMakeRange(0, newPrice.length)]; _oldPriceLabel.attributedText = newPrice;