how to change font size and font name of uisegmentedcontrol programmatically on swift?
UI can use control appearance, best place to add it is in app delegate, didFinishLaunchingWithOptions method, use this if you want to set up the same attribute to every UISegmentedControls in your project just once: let attr = NSDictionary(object: UIFont(name: “HelveticaNeue-Bold”, size: 16.0)!, forKey: NSFontAttributeName) UISegmentedControl.appearance().setTitleTextAttributes(attr as [NSObject : AnyObject] , forState: .Normal) But if … Read more