一直在四处寻找却找不到答案。我只是想知道如何改变一个选择器的每一行字体的颜色。这可能吗?谢谢

最佳答案

是的,这是可能的。这里有几个链接可以帮助您开始:
UIPicker font size for a certain column and row
http://alisothegeek.com/2009/07/custom-uipickerview-text-formatting/
https://developer.apple.com/library/ios/#documentation/uikit/reference/UIPickerViewDelegate_Protocol/Reference/UIPickerViewDelegate.html#//apple_ref/occ/intf/UIPickerViewDelegate

10-08 16:59