I am annotating a mutable attributed string with a strikethrough in objective-c. Using the following code.
range:NSMakeRange(0, [text length])]
What about having a look to the documentation?
This value indicates whether the text has a line through it and corresponds to one of the constants described in NSUnderlineStyle. The default value for this attribute is styleNone.