This commit is contained in:
23 Aaron 2020-02-03 00:09:20 -05:00
parent 47ae9e75b7
commit e068f166ca
2 changed files with 3 additions and 2 deletions

View file

@ -361,8 +361,9 @@ NSString *backupNameSelected;
return 1;
}
-(NSString*)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component{
return _backupFolderArray[row];
- (NSAttributedString *)pickerView:(UIPickerView *)pickerView attributedTitleForRow:(NSInteger)row forComponent:(NSInteger)component {
NSString *name = _backupFolderArray[row];
return [[NSAttributedString alloc] initWithString:name attributes:@{NSForegroundColorAttributeName: [UIColor whiteColor]}];
}
@end