Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Tom Coomer
1,331 PointsPicker View text color
I currently have a picker view reading from an array. I would like to change the text colour to white. How would I do this? Thanks
1 Answer
Chris McKnight
Courses Plus Student 11,045 PointsImplement the method - (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view and return a UILabel with a different textColor.
John W
21,558 PointsJohn W
21,558 PointsNeed... more... clarification... Are you referring to the Ribbit project from the Implementing Design for iPhone track? Or is this a separate project of yours? Also by picker view, do you mean the actual UITableView from UIImagePickerController, or are you referring to the UITableView visible after the UIImagePicker is dismissed? Including a screenshot or two with annotations would be helpful.