Commit f93c4aa 1 parent f7ae017 commit f93c4aa Copy full SHA for f93c4aa
File tree 3 files changed +0
-36
lines changed
3 files changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -364,18 +364,6 @@ - (void)setPickerSelectRowStyle:(UIPickerView *)pickerView titleForRow:(NSIntege
364
364
if (self.pickerStyle .selectRowTextFont ) {
365
365
selectLabel.font = self.pickerStyle .selectRowTextFont ;
366
366
}
367
- // 上一个选中的 label
368
- UILabel *lastLabel = (UILabel *)[pickerView viewForRow: row - 1 forComponent: component];
369
- if (lastLabel) {
370
- lastLabel.textColor = self.pickerStyle .pickerTextColor ;
371
- lastLabel.font = self.pickerStyle .pickerTextFont ;
372
- }
373
- // 下一个选中的 label
374
- UILabel *nextLabel = (UILabel*)[pickerView viewForRow: row + 1 forComponent: component];
375
- if (nextLabel) {
376
- nextLabel.textColor = self.pickerStyle .pickerTextColor ;
377
- nextLabel.font = self.pickerStyle .pickerTextFont ;
378
- }
379
367
}
380
368
});
381
369
}
Original file line number Diff line number Diff line change @@ -463,18 +463,6 @@ - (void)setupPickerSelectRowStyle:(UIPickerView *)pickerView titleForRow:(NSInte
463
463
if (self.pickerStyle .selectRowTextFont ) {
464
464
selectLabel.font = self.pickerStyle .selectRowTextFont ;
465
465
}
466
- // 上一个选中的 label
467
- UILabel *lastLabel = (UILabel *)[pickerView viewForRow: row - 1 forComponent: component];
468
- if (lastLabel) {
469
- lastLabel.textColor = self.pickerStyle .pickerTextColor ;
470
- lastLabel.font = self.pickerStyle .pickerTextFont ;
471
- }
472
- // 下一个选中的 label
473
- UILabel *nextLabel = (UILabel*)[pickerView viewForRow: row + 1 forComponent: component];
474
- if (nextLabel) {
475
- nextLabel.textColor = self.pickerStyle .pickerTextColor ;
476
- nextLabel.font = self.pickerStyle .pickerTextFont ;
477
- }
478
466
}
479
467
});
480
468
}
Original file line number Diff line number Diff line change @@ -376,18 +376,6 @@ - (void)setPickerSelectRowStyle:(UIPickerView *)pickerView titleForRow:(NSIntege
376
376
if (self.pickerStyle .selectRowTextFont ) {
377
377
selectLabel.font = self.pickerStyle .selectRowTextFont ;
378
378
}
379
- // 上一个选中的 label
380
- UILabel *lastLabel = (UILabel *)[pickerView viewForRow: row - 1 forComponent: component];
381
- if (lastLabel) {
382
- lastLabel.textColor = self.pickerStyle .pickerTextColor ;
383
- lastLabel.font = self.pickerStyle .pickerTextFont ;
384
- }
385
- // 下一个选中的 label
386
- UILabel *nextLabel = (UILabel*)[pickerView viewForRow: row + 1 forComponent: component];
387
- if (nextLabel) {
388
- nextLabel.textColor = self.pickerStyle .pickerTextColor ;
389
- nextLabel.font = self.pickerStyle .pickerTextFont ;
390
- }
391
379
}
392
380
});
393
381
}
You can’t perform that action at this time.
0 commit comments