Check out example codes for "change placeholder color swift". It will help you in understanding the concepts better.
Code Example 1
myTextField.attributedPlaceholder = NSAttributedString(string: "placeholder text",
attributes: [NSAttributedString.Key.foregroundColor: UIColor.white])
Learn ReactJs, React Native from akashmittal.com