Search code examples
iosuiviewuipickerview

How to show PickerView above anotherview


I am a newbie in IOS, I found an example about create and show a UIPickerView in the bottom and above some views in this ... link...
but I have no idea to make it
Could anyone tell me how to achieve it?

  • Should I add a PickerView in a Popup?
  • Should I design all layout first then I drag and drop UIPickerView above (in MainStoryBoard)?
  • Can I add UIPickerView programmatically in the bottom and above some view?

Any help would be appreciate

enter image description here =====>>> enter image description here


Solution

  • Use ActionSheetPicker from Gihub. its exactly solve your problem.

    here link https://github.com/skywinder/ActionSheetPicker-3.0