Increase the font size based on phone text size swift

 Problem:

increase the font size based on phone text size swift

Solution:

// MARK: - Font extension

extension UIFont{

    func largeBold() -> UIFont{

        return UIFontMetrics.default.scaledFont(forUIFont(namemyfontNamesize: 17)!)

    }


Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift