I had a method of changing the UIDatePicker
\'s text color on versions of iOS before 10, but with iOS10 those solutions no longer appear to work. How could I res
Nothing seems to have changed because I am able to achieve it even using Swift 3 as shown below.
import UIKit
class ViewController: UIViewController
{
override func viewDidLoad()
{
super.viewDidLoad()
let temp: UIDatePicker = UIDatePicker(frame: self.view.frame)
temp.setValue(UIColor.purple, forKey: "textColor")
view.addSubview(temp)
}
override func didReceiveMemoryWarning()
{
super.didReceiveMemoryWarning()
}
}