[MonoTouch] PickerView

Luiz Carlos Querino Filho querino at me.com
Fri Aug 14 12:12:51 EDT 2009


Hello guys.

I am trying to use a PickerView on my application. It builds  
correctly, but when I try to run it, a get the following error message:

  -[NSCFArray numberOfComponentsInPickerView:]: unrecognized selector  
sent to instance 0x108a5e0

It seems that I need to implement methods like  
numberOfComponentsInPickerView from the UIPickerViewDataSource protocol.

Am I right? What's the best way to do it in MonoTouch?

Thanks again,

Luiz


More information about the MonoTouch mailing list