Skip to content

Commit

Permalink
Add tint color to improve browser toolbar on iPad #22
Browse files Browse the repository at this point in the history
  • Loading branch information
soffes committed Oct 1, 2012
1 parent 32a76bd commit 8cb3224
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/CDIWebViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ - (void)viewDidLoad {
_forwardBarButton = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"forward-button"] landscapeImagePhone:[UIImage imageNamed:@"forward-button-mini"] style:UIBarButtonItemStylePlain target:_webView action:@selector(goForward)];

UIBarButtonItem *flexibleSpace = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil];


self.navigationController.toolbar.tintColor = [UIColor colorWithRed:0.369f green:0.392f blue:0.447f alpha:1.0f];
self.toolbarItems = [NSArray arrayWithObjects:
_backBarButton,
flexibleSpace,
Expand Down

0 comments on commit 8cb3224

Please sign in to comment.