sgira sgira - 2 months ago 16x
Swift Question

Make a rollable item menu list using Xcode

I would insert a rollable menu list in my ViewController, as in the follow app:

enter image description here

How can I make it using Xcode?
how is called this type of menu?


UIPickerView is what you want to display it.
Check documentation on this with more info

To be able to use an image and text inside UIPickerView's row, you should override next function and provide your implementation:

func viewForRow(_ row: Int, forComponent component: Int) -> UIView?