如何在iOS Swift的选择器视图中更改所选索引的文本颜色?

时间:2017-07-05 05:50:39

标签: ios iphone swift

如何在iOS Swift的选择器视图中更改所选索引文本的颜色?As shown in the image , this is a Picker view (ScreenShot) and at the particular index (Selected Index) the Color of the text is changed to red , How to achieve this in iOS Swift?

如图所示,这是一个Picker视图(ScreenShot),在特定索引(Selected Index)中,文本的颜色变为红色,如何在iOS Swift中实现这一点?

先谢谢!!

0 个答案:

没有答案