UIPickerView Height

UIPickerView Height

Tudip

24 June 2016

One common problem that you face while UIPickerView’s using is, although the width is changeable but height is not re-sizable.

At this point you have two ways to fix this problem

  • Create custom UI picker
  • Use UIScrollView

Developing the custom UI picker is an overkill. Using UIScrollView is much easier and simpler solution.
This is how you can do it:

  • Put a UIScrollView control.
  • Move your UIPickerView inside this UIScrollView
  • Adjust height of UIScrollView as per your requirements

search

Blog Categories

Request a quote