uipickerviewcontroller - having trouble to assign multiple picker views to a single view controller -


(void)viewdidload {     [super viewdidload];     picker1data=@[@1,@2,@3,@4,@5];     picker2data=@[@"a",@"b",@"c",@"d",@"e",@"f"];     self.picker1.datasource=self;     self.picker1.delegate=self;     self.picker2.datasource=self;     self.picker2.delegate=self; 

am doing wrong assigning single view controller datasource , delegate of multiple pickers?

no can assign multiple uipicker view in signgle viewcontoller


Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -