diff --git a/FlashBack.xcworkspace/xcuserdata/aaron.xcuserdatad/UserInterfaceState.xcuserstate b/FlashBack.xcworkspace/xcuserdata/aaron.xcuserdatad/UserInterfaceState.xcuserstate index 8725238..9f5c024 100644 Binary files a/FlashBack.xcworkspace/xcuserdata/aaron.xcuserdatad/UserInterfaceState.xcuserstate and b/FlashBack.xcworkspace/xcuserdata/aaron.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/FlashBack/ViewController.m b/FlashBack/ViewController.m index 61c3229..74c85de 100755 --- a/FlashBack/ViewController.m +++ b/FlashBack/ViewController.m @@ -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