Can anyone please tell me how can I change the font type and size of UISegmentedControl?
UISegmentedControl
UISegmentedControl.appearance().setTitleTextAttributes(NSDictionary(objects: [UIFont.systemFont(ofSize: 16.0)], forKeys: [kCTFontAttributeName as! NSCopying]) as? [AnyHashable : Any], for: UIControlState.normal)