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
Post a Comment