UILable的text设置中划线(删除线)
NSDictionary *attribtDic = @{NSStrikethroughStyleAttributeName: [NSNumber numberWithInteger:NSUnderlineStyleSingle]}; NSMutableAttributedString *attribtStr = [[NSMutableAttributedString alloc]initWithString:@" 价格:40" attributes:attribtDic]; label.attributedText = attribtStr;