Can anyone please tell me how can I change the font type and size of UISegmentedControl?
UISegmentedControl
In swift 5,
swift 5
let font = UIFont.systemFont(ofSize: 16) UISegmentedControl.appearance().setTitleTextAttributes([NSAttributedString.Key.font: font], for: .normal)