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

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift