Do we have a radio button control kinda thing in iphone ? I want to save space by just showing selected item ... secondly, UIPicker shows all the items, and it has a disgusting background gray colour which does not go at any codt ... !
There is no radio button but you could easily create one yourself. Lookup how to subclass a UIButton and with some simple programming you can create a UIRadioButton.
No combo box either. Please consult the iPhone Application Programming Guide and especially the iPhone Human Interface Guidelines documents for more information on what standard controls are at your disposal.
But can i dynamically add items to UISegmentControl ? Can I have scroll facility on it ? like total 10 items, but only 3 visibale at any given point of time sort of ?
But can i dynamically add items to UISegmentControl ? Can I have scroll facility on it ? like total 10 items, but only 3 visibale at any given point of time sort of ?
But can i dynamically add items to UISegmentControl ? Can I have scroll facility on it ? like total 10 items, but only 3 visibale at any given point of time sort of ?
If you have that many options, a UIPickerView sounds more appropriate. You define the number of rows and columns; it looks like the bottom control in this screenshot: