当前位置:网站首页>Set font size

Set font size

2020-12-06 10:38:35 Sword dragon Yuwu

import UIKit

///  Regular Fonts 
func FontSize(_ size: CGFloat) -> UIFont {
    return UIFont.systemFont(ofSize: AdaptW(size))
}

///  Bold font 
func BoldFontSize(_ size: CGFloat) -> UIFont {
    return UIFont.boldSystemFont(ofSize: AdaptW(size))
}

版权声明
本文为[Sword dragon Yuwu]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/12/20201206103620228g.html