iphone - UIPickerView Height customisation -


need display 4 uipickerview in viewcontroller.

how can customise height?

minimum height can given 162. can give 100 height each uipickerview? there framework or example available?

try this:

uipickerview *picker = [[uipickerview alloc] initwithframe: cgrectzero]; picker.showsselectionindicator = yes; picker.autoresizingmask = uiviewautoresizingflexiblewidth; cgsize ps = [picker sizethatfits: cgsizezero]; picker.frame = cgrectmake(0.0, 0.0, ps.width, ps.height + 100); 

Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -