My code fragment is very small:
self.textField.textColor = color
This is called in response to user interaction. It has been working for years. On my iOS 10 device it still works. On my iOS 11 device, the color does not change until I tap in the text field.
Bug? Feature? Workaround? Suggestions welcome.