Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
iOS8 can set property barsTintColor
Maybe iOS8 quickly show web view controller
before call viewWillAppear,
so set property immediately.

fixes #118
  • Loading branch information
ykws committed Dec 25, 2014
commit 3cc5fd7fe37654a4b41bbc0943393a1f1ac51507
5 changes: 4 additions & 1 deletion SVWebViewController/SVModalWebViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,12 @@ - (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:NO];

self.webViewController.title = self.title;
self.navigationBar.tintColor = self.barsTintColor;
self.navigationBar.translucent = self.barsTranslucent;
self.navigationBar.barStyle = self.barsStyle;
}

- (void)setBarsTintColor:(UIColor *)barsTintColor {
self.navigationBar.tintColor = barsTintColor;
}

@end