任何人都知道如何在自定义选择器的组件中创建连续值,例如月份轮换日期UIPickerView
?这是我的源数组数据:
self.one =[[NSMutableArray alloc]init];
for (int i=0; i<=101; i++) {
[one addObject:[NSNumber numberWithInt:i]];
}
//and here my titleforrow method
if (component==0) {
return [[one objectAtIndex:row] stringValue];
}