Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 iOS 10.2 中,所有文本字段占位符的默认颜色与文本颜色相同。(表示不是默认灰色),
根据这些最新的文档,UIKit 中的描述:
open var placeholder: String? // default is nil. string is drawn 70% gray
文本字段占位符文本默认颜色为:十六进制颜色代码:C0C0C0