- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view
{
UIFont *font = [UIFont boldSystemFontOfSize:16];
UILabel *myLabel = [[UILabel alloc] initWithFrame:CGRectMake(60, 0, 280, 40)];
myLabel.text = [accountNameArray objectAtIndex:(int)row];
myLabel.textColor = [UIColor blackColor];
myLabel.font = font;
myLabel.backgroundColor = [UIColor clearColor];
myLabel.opaque = NO;
[view addSubview:myLabel];
return myLabel;
}
Change pickerview font size
iPhone SDK Tips & Tricks
Labels:
iphone SDK