iphone - How can I change the width of each component in a UIPickerView? -


how can change width of each component in uipickerview?

implement pickerview:widthforcomponent: method in picker's delegate , return appropriate width each component it. e.g.

- (cgfloat)pickerview:(uipickerview *)pickerview widthforcomponent:(nsinteger)component{       switch (component){            case 0:                  return 100.0f;            case 1:                  return 60.0f;      }       return 0; } 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -