Quote:
Originally Posted by gblank
amm, no they are not.
you can resize the uipickerview by doing this :
myuipickerview.frame = CGRectMake(.....);
that's it.
for some reason initwithframe does not work on it.
|
HI,gblank....I am a newbird here.
The method myuipickerview.frame = CGRectMake(.....) I have tried a couple times , but it didn`t work. I don`t know what`s wrong.
Here is my code , and Can you help me?
Code:
UIPickerView *picker=[[UIPickerView alloc] init];
picker.frame= CGRectMake(0, 219, len*13.3, 216);
picker.delegate=self;
picker.dataSource=self;
picker.showsSelectionIndicator = YES;
m_job.inputView=picker; //m_job is a UITextFiled instance
[picker release];