I need to add one UITextField and one ComboBox inside a “location” button.
When the user taps on the “location” button the UITextField and the ComboBox should appear on the screen and when the user taps outside the “location” button, the UITextField and the ComboBox should get hidden.
How can I do this? Any tutorial or source code will be much appreciated.
1.Create a UIButton in the xib with custom style .Add UITextFiled and picker view which having default functionality of the combo box in iOS .Or you can make you custom combo box.Make both hidden by default
2.On click event of the button.
for dismissing the picker and textfield: