diff --git a/SVWebViewController/SVWebViewController.m b/SVWebViewController/SVWebViewController.m index 2e08ebc..54dc9bc 100644 --- a/SVWebViewController/SVWebViewController.m +++ b/SVWebViewController/SVWebViewController.m @@ -200,6 +200,7 @@ - (void)updateToolbarItems { toolbar.items = items; toolbar.barStyle = self.navigationController.navigationBar.barStyle; toolbar.tintColor = self.navigationController.navigationBar.tintColor; + toolbar.barTintColor = self.navigationController.navigationBar.barTintColor; self.navigationItem.rightBarButtonItems = items.reverseObjectEnumerator.allObjects; } @@ -218,6 +219,7 @@ - (void)updateToolbarItems { self.navigationController.toolbar.barStyle = self.navigationController.navigationBar.barStyle; self.navigationController.toolbar.tintColor = self.navigationController.navigationBar.tintColor; + self.navigationController.toolbar.barTintColor = self.navigationController.navigationBar.barTintColor; self.toolbarItems = items; } }