Increase the size of UIPickerView

Discussion in 'iOS Programming' started by shweta13, Dec 3, 2008.

  1. shweta13 macrumors member

    Aug 7, 2008
    Hi all,

    I have been trying to increase the width of the spinner/scroller so that the whole text gets displayed, but i am unable to do it. Is there any method or particular delegate I have to use?...

    Thanks for ur help.
  2. shweta13 thread starter macrumors member

    Aug 7, 2008
    I got the answer:-

    Using UIPickerViewDelegate method widthForComponent solved my problem.
    Only the thing is, it takes width in the form of number of pixels, so the width I gave was falling short.

Share This Page