Astitva
Astitva

Reputation: 23

Which UI element of iOS is this?

See this image!

I am trying to incorporate a similar kind of view in an app. So, was wondering if its a tableview or something else?(see attached image) I am very new to learning swift and would greatly appreciate if someone could help me identify how this kind of structure can be made. Just the name of the element to be used would be enough. I will look up the details on Apple Docs.

Upvotes: 1

Views: 100

Answers (1)

Berendschot
Berendschot

Reputation: 3104

It is a customized UIPickerView with two components. Just like the default Date Picker in iOS.

These questions should help you in styling the UIPickerView:


For that last question, please take a look at DShah' answer.

Addition to Nina's answer, below are some of the good custom Picker view controls which will be good to use in terms of performance and customizable. http://www.cocoacontrols.com/platforms/ios/controls/cppickerview http://www.cocoacontrols.com/platforms/ios/controls/afpickerview http://www.cocoacontrols.com/platforms/ios/controls/v8horizontalpickerview (Horizontal PickerView)

Upvotes: 1

Related Questions