iOS Question Get Picker Size Error

David Martinez

Member
Licensed User
Longtime User
I am trying to check if the picker is loaded or not. The code below errors out because the picker is empty.

B4X:
If Picker.GetItems(0).Size = 0 Then

Any help would be appreciated...thanks.
 

David Martinez

Member
Licensed User
Longtime User
*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array

I put in 0 for the column element because I have to put something.
 
Upvote 0
Top