Inject the method viewForRow:forComponent:into the collector data delegate, create an instance of UILabel with the font (and all other properties) in it, for example:
- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view{
UILabel* tView = (UILabel*)view;
if (!tView){
tView = [[UILabel alloc] init];
...
}
...
return tView;
}
source
share