title: How to change UIPickerView text colour to white in iOS
body: <p>I was wondering if anyone knew how to change the UIPickerView text colour to white. My code is below:</p>
  
  <p>Code:</p>
  
  <pre><code>(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component
  {
  
      [self.pickerView setValue:[UIColor whiteColor] forKey:@"textColor"];
  
  }
  </code></pre>
  
  <p>Any idea?</p>