iphone - UIPickerView - Selection on Tap -



iphone - UIPickerView - Selection on Tap -

i showing uipickerview , in set 1 entry selected or highlighted.now when user want have highlighted entry has scroll , select entry. instead possible tap on highlighted entry

for illustration have options below in uipikcerview

================

- land promoters ( default highlighted ) builders brokers

so when, showing picker, when jus tapping on "land promoters", want called function

//=========================================================================== - (void)pickerview:(uipickerview *)pickerview didselectrow:(nsinteger)row incomponent:(nsinteger)component //===========================================================================

the best way not utilize didselectrow callback. instead set done button, , on click of button take selectedrowincomponent of picker view , hide picker view. can utilize selectedrowincomponent selected row , utilize fetch name/etc info array.

iphone ios4 uipickerview

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -