how is the code for picker view if i selected the any item from the Pickerview it as to show the related alert message.
exe: In picker view consists “RED”,YELLOW”,”BLOCK”,”GREEN” from the picker view if i selected the RED Alert message “THIS IS RED”.
so help me to solve the problem.
how is the code for picker view if i selected the any item from
Share
You can use the picker delegate method.
Now you have the selected value in your mString object then use that object in the alert message.
You can refer this discussion