NSStrikethroughStyleAttributeName , How to strike out the string in iOS 10.3?

后端 未结 7 1856
长情又很酷
长情又很酷 2020-12-07 01:38

I have used this line of code before release of iOS 10.3 ,and worked fine.

NSMutableAttributedString *attributeString = [[NSMutableAttributedString alloc] in         


        
相关标签:
7条回答
  • 2020-12-07 02:44

    I found one workaround on developer forum, which works for me. Adding of NSBaselineOffsetAttributeName to string attributes fixed this problem :)

    0 讨论(0)
提交回复
热议问题