0

I know after ios6, setAttributeString could help to change the line space, but if I'm typing in the textview, may I change the line space, on ios7 setAttributeString seems work but not on iOS 6

NickYu
  • 594
  • 1
  • 5
  • 13

2 Answers2

0

I think you can't change line space of textfield in iOS 6 because there is no API call available for iOS 6. Although you can use core text for this. Look this code for this https://github.com/mattt/TTTAttributedLabel

0

There was a bug in iOS 6, that causes line height to be ignored when font is set. See answer to NSParagraphStyle line spacing ignored and longer bug analysis at Radar: UITextView Ignores Minimum/Maximum Line Height in Attributed String.

Community
  • 1
  • 1
Rukshan
  • 7,902
  • 6
  • 43
  • 61