I'm new to iphone programming. there are lot of basic controls in xcode which i can implement but i want to know how to create the control shown below in iphone.
It is not present in list of control objects in xcode
I'm new to iphone programming. there are lot of basic controls in xcode which i can implement but i want to know how to create the control shown below in iphone.
It is not present in list of control objects in xcode
There are no default dropdown implementations available for iPhone. You can try to implement a UIPickerView
or UIActionSheet
based on the requirement.
If you cannot modify your design, you can go ahead and implement your own dropdown implementation. Basically you need to have a button with the above image as background view and on tap of that you need to show a table view below that. Alternatively you can check this custom dropdown list and this Drop Down Demo iOS.
Xcode does not provide this control.You can create custom control with a table view and Button.Show the table view when you click on it and hide it on again clicking on it.You can also add images on background for the same look.