Skip to content

Commit

Permalink
Make the toolbar black
Browse files Browse the repository at this point in the history
This should be a property I can set but I'll get to that when I have time
  • Loading branch information
OliBridgman committed Oct 14, 2015
1 parent f1d14a5 commit 98cfe29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Pickers/AbstractActionSheetPicker.m
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,8 @@ - (UIToolbar *)createPickerToolbarWithTitle:(NSString *)title {
CGRect frame = CGRectMake(0, 0, self.viewSize.width, 44);
UIToolbar *pickerToolbar = [[UIToolbar alloc] initWithFrame:frame];
pickerToolbar.barStyle = (NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_6_1) ? UIBarStyleDefault : UIBarStyleBlackTranslucent;

pickerToolbar.barTintColor = [UIColor blackColor];
pickerToolbar.alpha = 0.9f;
NSMutableArray *barItems = [[NSMutableArray alloc] init];

if (!self.hideCancel) {
Expand Down

0 comments on commit 98cfe29

Please sign in to comment.