How do I change the color of the text in a UIPickerView under iOS 7?
There is a function in the delegate method that is more elegant: Objective-C: – (NSAttributedString *)pickerView:(UIPickerView *)pickerView attributedTitleForRow:(NSInteger)row forComponent:(NSInteger)component { NSString *title = @”sample title”; NSAttributedString *attString = [[NSAttributedString alloc] initWithString:title attributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}]; return attString; } If you want to change the selection bar colors as well, I found that I had to add 2 … Read more