Does anyone know how to populate, for example, a list of categories, from a web service in a UIPickerView? Also, is it possible to put a hidden value?
Example,
"Public" with hidden identifier "1",
"Member" with hidden identifier "2", etc.
These 2 values must be from a web service. By the way, I am using the ASIHTTPRequest structure.
I am new to iOS / Xcode / Objective C. Hope someone can help): Thanks.
================ Answer ================== <
@MSgambel
Okay, try to explain everything to me. At the moment, how we put elements in a UIPickerView:
[NSArray arrayWithObjects: @ "John Appleseed", @ "Chris Armstrong", @ "Serena Auroux", @ "Susan Bean", @ "Luis Becerra", @ "Kate Bell", @ "Alain Brier", zero];
instead of these elements above, how can I populate elements from a web service in the collector?
@Akshay
What I mean by hidden is that the collector will have 2 values, but only the "Public" label is visible on the collector and not on the "1" icon. I would like to implement it somewhat similar to the drop down menu on websites.
"" :
DomainID: DomainName
1:
2:
3: CompanyB
"", DomainID. ( )
"" , , "1" . , ?