I am using MDCTextInputControllerOutlined
and I want change textColor to white I have tried many ways but I can not able to change textColor below is my code:
var emailTextFieldController : MDCTextInputControllerOutlined?
emailTextFieldController = MDCTextInputControllerOutlined(textInput: txtEmailAddress)
emailTextFieldController?.borderStrokeColor = UIColor.white
emailTextFieldController?.activeColor = UIColor.white
emailTextFieldController?.inlinePlaceholderColor = UIColor.white
emailTextFieldController?.textInputClearButtonTintColor = .white
emailTextFieldController?.floatingPlaceholderActiveColor = UIColor.white
How do I change text MDCTextInputControllerOutlined
?
txtEmailAddress.textColor = UIColor.white
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.