objective c - Strikethrough thickness for NSMutableAttributedString -
i annotating mutable attributed string strikethrough in objective-c. using following code.
[mastring addattribute:nsstrikethroughstyleattributename value:[nsnumber numberwithint:1] range:nsmakerange(0, [text length])]
i not clear value parameter controls , possible values are. control thickness? if so, possible values?
what having documentation?
this value indicates whether text has line through , corresponds 1 of constants described in nsunderlinestyle. default value attribute stylenone.
and then:
https://developer.apple.com/reference/uikit/nsunderlinestyle
Comments
Post a Comment