uipickerview deselect all items
Is it possible开发者_如何学JAVA to load an uipickerview with values but by default have no item selected?
I tried setting selected item to -1 with no success.
I'm pretty sure you always have to have at least one item selected with a UIPicker... What would it display? Maybe you could create an item titled, "Please select" or something?
I think that you should always have at least some default that's already selected.
精彩评论