NSMutableAttributedString's attribute NSStrikethroughStyleAttributeName doesn't work correctly in iOS8

后端 未结 6 1202
猫巷女王i
猫巷女王i 2020-12-31 21:36

I have a mutable attributed string without NSStrikethroughStyleAttributeName attribute like this:

NSMutableAttributedString *str1 = [[NSMutableAttributedStri         


        
6条回答
  •  甜味超标
    2020-12-31 22:17

    Fix for the bug in iOS8: Strike Through first letter of the string with clear color and then Strike through the text in which ever range you want.

提交回复
热议问题