iOS Question is there any example for using picker?

liulifeng77

Active Member
Licensed User
Longtime User
I'm a newer,I'm finding some material for learning. sorry my pool english. thanks

I used it like this:

Dim class As List
Private Sub Application_Start (Nav As NavigationController)
class.Initialize2(Array As String("1","3"))
Picker1.Initialize("picker1")
Picker1.SetItems(0,class)
end sub


there is no item display in my device.
 
Hi,

The problem is that you initialize the Picker and probably add it in the designer too. ;)

Note: If you add a view to a layout with designer, you should not initialise it in your code.

So, just delete the line, where you initialize the Picker.
 
Upvote 0
Back
Top