pickerViewTitle的无上下限选择

-(void)pickerView:(UIPickerView*)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component{

NSMutableArray*temp=[NSMutableArrayarrayWithArray:self.godName];

for(intj=0; j

temp[(j+3)%self.godName.count]=self.godName[(j+row)%self.godName.count];

}

self.godName=[NSMutableArrayarrayWithArray:temp];

[self.pickerViewreloadComponent:0];

[self.pickerViewselectRow:3inComponent:0animated:NO];

}

你可能感兴趣的:(pickerViewTitle的无上下限选择)