uitableview - how to connect textfield with table view of listed options instead of keypad -
i need able disable keypad in textfield, , instead when user taps on start editing, new table view appear presenting list of possible strings textfield should filled.
anyone has suggestions on how achieve this?
thanks in advance
p.s. tried functionality cannot nicely implemented picker in case, there many options choose , (more importantly) each 1 of them rather long string , cannot appear entirely in picker.
i believe need regular cell that, when tapped, pushes new detail uitableviewcontroller options choose from. once option chosen, set cell's textlabel whatever option have been selected.
if you'd go easier path, should check free sensible tableview framework, has these kinds of cells out of box (called selection cells). pass on strings array selection cell , automatically display detail view, , assign selected option 1 of object's properties if wish. should save amount of manual work. luck!
Comments
Post a Comment