I have been searching for drop down view (expand & collapse view) that basically expand when user clicked on it or collapse.
The drop down is basically use to include textview/textfield. Till now I could not manage to find how to create this drop down view. What I managed to find is drop down menu which is sort of like an option picker that allows you to select an option. I just wanted to include text only. Is it possible to ask for some pointers regarding this?
Thanks.
I also needed a HTML select-like control (single-selection dropdown list) without breaking the XCode legacy GUI interface across past and future iOS releases.
I ended up coding DownPicker, a lightweight control which does just that combining UITextField
and UIPickerView
. It can be used either as custom control (UIDownPicker
) or also as control wrapper, upgrading any existing UITextField
.
Here's how it looks like:
For more info and download you can check this brief tutorial or the GitHub project page (both wrote by me - the project is open-source).
There is no dropdown available in iOS. You should create it with text field and tableview. Use below links for references:
iOS-Examples--UITableView-Combo-Box
a-simple-drop-down-list-for-iphone
Yes. There is no dropdown component available in ios. And its really frustrating to build a basic component. However, VPPDropDown is there to solve your problem. https://github.com/vicpenap/VPPDropDown
you can see this one too. This library is written with Swift 3
https://github.com/younatics/YNDropDownMenu
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With