Search code examples
objective-ccocoa-touchiosuipickerview

How to change the dimensions of picker view?


Possible Duplicate:
How to decrease the height of the Uipickerview?

In my application I want to change the height of the picker view. Please give me any information.


Solution

  • Use the .frame property and set the CGRect.

    [picker setFrame: CGRectMake(0, 120, 320, 215) ];
    
    CGRectMake ( x, y, width, height)