You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out NSKernAttributeName works like this for UIKit:
Non-zero NSNumber: adjusts tracking
@0: disables font kerning (ugly, only do this if you have a very good reason)
[NSNull null] - enables pretty font Kerning. It's not clear from the documentation, but this is necessary only for manual attributed string drawing. In UIKit, even if you don’t set this property, this is the default behavior.
To consider for BonMot: should we always use [NSNull null], just in case the string is being used in Quartz drawing? Or should we provide a separate accessor, -attributedStringForBitmapDrawing or similar?
From the iOS 8.3
UILabel
documentation:To research
UILabel
? What aboutUITextView
,UITextField
, Core Animation, and Core Graphics?The text was updated successfully, but these errors were encountered: