Changing tab bar font in Swift
The UITextAttributeFont was deprecated in iOS 7. You should use the NS variant instead: import UIKit let appearance = UITabBarItem.appearance() let attributes = [NSFontAttributeName:UIFont(name: “American Typewriter”, size: 20)] appearance.setTitleTextAttributes(attributes, forState: .Normal)