ios 原价划线

NSDictionary *attribtDic = @{NSStrikethroughStyleAttributeName: [NSNumber numberWithInteger:NSUnderlineStyleSingle]};
        NSMutableAttributedString *attribtStr = [[NSMutableAttributedString alloc]initWithString:@"¥3800.00" attributes:attribtDic];
        priceLabel.attributedText =attribtStr;
ios 原价划线_第1张图片
屏幕快照 2018-08-15 下午4.17.23.png

你可能感兴趣的:(ios 原价划线)