В
Size: a a a
В
В
В
S
В
В
IG
В
В
S
В
S
AM
AM
let label = UILabel()
label.numberOfLines = 2
abel.textAlignment = .center
let attrs1: [NSAttributedString.Key: Any] = [.font: UIFont(name: "GothamPro-Bold", size: 22.0)!,
.foregroundColor: UIColor.textColor]
let attrs2: [NSAttributedString.Key: Any] = [.font: UIFont(name: "GothamPro", size: 16.0)!,
.foregroundColor: UIColor.textColor]
let attributedString1 = NSMutableAttributedString(string:"Lifestyle\n", attributes: attrs1)
let attributedString2 = NSMutableAttributedString(string:"10/100", attributes: attrs2)
attributedString1.append(attributedString2)
label.attributedText = attributedString1
self.navigationItem.titleView = label
AM
AM
AM