lettitleLbl = UILabel()
titleLbl.font = RF.iconfont(size:44)
titleLbl.text = .iconfont_logo
titleLbl.sizeToFit()
self.navigationItem.titleView = titleLbl
lettitleLbl = UILabel()
titleLbl.font = RF.iconfont(size:44)
titleLbl.text = .iconfont_logo
titleLbl.sizeToFit()
self.navigationItem.titleView = titleLbl
本文标题:代码设置label为iconfont.
本文链接:https://www.haomeiwen.com/subject/gjhonttx.html
网友评论