Question : swift uilabel font bold
Answered by : happy-hyena-j4t6squdpbx2
// Define attributes
let labelFont = UIFont(name: "HelveticaNeue-Bold", size: 18)
let attributes :Dictionary = [NSFontAttributeName : labelFont]
// Create attributed string
var attrString = NSAttributedString(string: "Foo", attributes:attributes)
label.attributedText = attrString
Source : https://stackoverflow.com/questions/25025779/setting-uilabel-text-to-bold | Last Update : Fri, 11 Jun 21