I have a UIPickerView in my application.
Also there is a table view. Based on the value I select in picker my table values should change.
I am getting values from response. how can I dynamically populate the table? Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What I understand is, you select a value from picker , based on which you call some web-service. There you get some response and show that result in tableview. So the best way is, get the response data from webservice(the data you want to show in table) and store it in some dictionary. in
cellForRowAtIndexPath:, show the value in cell from this dictionary. ThereloadDatawill help you to reload thetableViewonce you got the response.