Aquí estoy añadiendo un pickerview programaticlycómo administrar este selector ver una fuente de datos
- (void)viewDidLoad {
[super viewDidLoad];
CGRect pickerFrame = CGRectMake(0,280,321,200);
UIPickerView *myPickerView = [[UIPickerView alloc] init]; //Not sure if this is the proper allocation/initialization procedure
//Set up the picker view as you need it
//Set up the display frame
myPickerView.frame = pickerFrame; //I recommend using IB just to get the proper width/height dimensions
//Add the picker to the view
[self.view addSubview:myPickerView];
}
Pero ahora tengo que realmente haga que sea mostrar contenidos y de alguna manera saber cuando se cambia y qué valor se ha cambiado a. ¿Cómo hago esto?
echar un vistazo en los documentos de xcode para UIPickerView datasource y delegados. – MCannon