string - 更改 UIDatePicker 文本颜色

标签 string swift uidatepicker nsattributedstring

如何更改 UIDatePicker View 中文本的颜色。我应该使用属性字符串吗?

谢谢

最佳答案

根据 Apple 的 UIKit 用户界面目录,不允许开发人员自定义日期选择器。据说已经...

https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/UIKitUICatalog/UIDatePicker.html#//apple_ref/doc/uid/TP40012857-UIDatePicker-SW3

生活很艰难!

关于string - 更改 UIDatePicker 文本颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26971963/

相关文章:

c# - 如何在 C# 中的 string.Format 中进行对齐?

ios - NSAttributedString 文本打印出灰色而不是黑色?

Java : Finding String literals in String

javascript - String.normalize() 的意义何在?

string - 如何转换Primitive.M映射到[string] string然后映射到string?

ios - 语义问题 : Cannot find the protocol declaration for ‘ARSessionDelegate’

ios - 私有(private) Cocoapod 未在 iOS 模拟器上运行 - 体系结构 x86_64 的 undefined symbol

ios - 如何在 iOS 7 日历 UIDatePicker 中显示日期选择器

ios - 单击按钮时 UIDatePicker 不显示

ios - UIdatepicker 显示工作日