apply strike through on Special character Rp‎ 4.752.000

apply strike through on Special character  Rp‎ 4.752.000 it will be Rp 4.752.000. when I applying strike to this it will not work but when I apply to normal string it’s working properly.



let attributeString = NSMutableAttributedString(string: decodedString, attributes: [ NSParagraphStyleAttributeName: style ])  attributeString.addAttribute(NSStrikethroughStyleAttributeName, value: 2, range: NSRange(location: 0, length: attributeString.length))


oldpricenameLabel.attributedText = attributeString

Powered by WPeMatico

You may also like...

Comments are closed.