I was able to change my font color but I also need to change font size, how can I accomplish that? Here\'s my code for chaning the color,
- (NSAttributedStr
Updated for Swift 4:
public func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusing view: UIView?) -> UIView {
let label = view as? UILabel ?? UILabel()
label.font = .systemFont(ofSize: 16)
label.textColor = .white
label.textAlignment = .center
label.text = text(for: row, for: component)
return label
}