I have been trying to change the font for the tab bar items however I haven\'t been able to find any Swift examples. I know that this is how you change it in Objective-C:
Put this under didFinishLaunchingWithOptions:
didFinishLaunchingWithOptions
UITabBarItem.appearance() .setTitleTextAttributes( [NSAttributedStringKey.font: UIFont(name: "Didot", size: 10)!], for: .normal)
This works in Swift 4