Is it possible to customize the image of the clear button in a UITextField? I have a dark textfield background and the \"x\" is not visible enough.
UITextField
Swift 3
let customClearButton = UIButton.appearance(whenContainedInInstancesOf: [UITextField.self]) customClearButton.setBackgroundImage(UIImage(named: "custom_cb"), for: .normal)