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
The code you're using is setting a private property of the UIDatePicker
. That's the danger of using a private property. There's no guarantee that it will work in the next OS version.
If Apple detected what you were doing they would have rejected your app.
Unless there is a public interface for doing this, you may be out of luck. (And I'm not aware of a public interface for changing the text color of a date picker.)