0
我使用attributed strings
在標籤上改變字母之間的間距「網絡連接」的信件:爲兩組字母IOS NSMutableAttributedString NSKernAttributeName錯字距與「FL」和
var attributedString=NSMutableAttributedString(string: "Fifi floflo")
attributedString.addAttribute(NSKernAttributeName, value: CGFloat(10), range: NSRange(location: 0, length: attributedString.length))
label.attributedText=attributedString
的字距運作良好節選其中是「FL」和「網絡」(也許別人沒看到目前)。 我使用「艾文莉介質」字體,但我基本的Arial字體測試,問題仍然存在。
我剛剛發現來自確實是文檔的解決方案。 –