Change the font item in tab bar swift 3
If you want to change the font as custom font from the user end description or formation then you can follow the below code to change the font attribute.
UITabBarItem.appearance().setTitleTextAttributes([NSFontAttributeName: UIFont.boldSystemFont(ofSize: 10.0)], for: .normal)
But you want to import the font inside of the app as well as it will be added to your compile sources.So you must have to copy it inside your app.
You also can have to change the font types like ariel , Bold , italic and etc
Comments
Post a Comment