Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

done button color #21

Closed
kerem1905 opened this issue Aug 16, 2014 · 1 comment
Closed

done button color #21

kerem1905 opened this issue Aug 16, 2014 · 1 comment
Labels

Comments

@kerem1905
Copy link

I used code below, but by donebutton text color is still white.. Whatever I tried, couldnt changed done button color from white to another color.. Problem exitsts on both ios8 and ios7..

    ActionSheetDatePicker* actionSheetPicker = [[ActionSheetDatePicker alloc] initWithTitle:@"" datePickerMode:UIDatePickerModeDate selectedDate:self.selectedDate target:self action:nil origin:textField];
    UIBarButtonItem* doneButton = [[UIBarButtonItem alloc] initWithTitle:@"Tamam4234" style:UIBarButtonItemStyleBordered target:nil action:nil];

    [doneButton setTintColor:G_BLACK];
    [actionSheetPicker setDoneButton:doneButton];

    [actionSheetPicker addCustomButtonWithTitle:@"Today" value:[NSDate date]];
    actionSheetPicker.hideCancel = YES;
    [actionSheetPicker showActionSheetPicker];
@skywinder
Copy link
Owner

I try your code and it works fine. Check your G_BLACK parameter, I put [UIColor blackColor] instead
ios simulator screen shot 18 aug 2014 17 56 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants