How do I change the text size and component width of a UIPickerView?
Posted
by rksprst
on Stack Overflow
See other posts from Stack Overflow
or by rksprst
Published on 2008-11-02T05:26:44Z
Indexed on
2010/03/16
8:56 UTC
Read the original article
Hit count: 306
cocoa-touch
|iphone
I have the following code to create a UIPickerView:
pickerView = [[UIPickerView alloc] initWithFrame:CGRectMake(0.0f, 416.0f - height, 320.0f, height)];
pickerView.delegate = self;
pickerView.showsSelectionIndicator = YES;
[pickerView setSoundsEnabled:YES];
I would like to change the component widths and change the text size in each component. Is it possible to do this?
Thanks!
© Stack Overflow or respective owner