@@ -76,28 +76,24 @@ ZFWKWebViewEventGoForwardKey
76
76
77
77
### Custom UI
78
78
79
- #### Ugly , But it's realy flexible.
79
+ #### Image is ugly , But ` ZFWKWebView ` is realy flexible.
80
80
81
81
![ Custom_UI] ( https://raw.githubusercontent.com/ICU-Coders/IconLib/master/ZFWKWebView/customUI.jpg )
82
82
83
83
```
84
- {
85
- self.titleFont = [UIFont systemFontOfSize:33 weight:UIFontWeightBold];
86
- self.titleColor = [UIColor redColor];
87
- self.navigationBackgroundColor = [UIColor greenColor];
88
- }
84
+ self.titleFont = [UIFont systemFontOfSize:33 weight:UIFontWeightBold];
85
+ self.titleColor = [UIColor redColor];
86
+ self.navigationBackgroundColor = [UIColor greenColor];
87
+
88
+ self.showRightNavigationButton = YES;
89
+ self.rightNavigationButtonTitle = @"Skip";
90
+ self.rightNavigationButtonTextFont = [UIFont systemFontOfSize:13 weight:UIFontWeightRegular];
91
+ self.rightNavigationButtonTextColor = [UIColor yellowColor];
92
+
93
+ self.progressBarHeight = 40;
94
+ self.progressTintColor = [UIColor colorWithRed:86/255.0 green:187/255.0 blue:59/255.0 alpha:1];
95
+ self.progressBackgroundColor = [UIColor clearColor];
89
96
90
- {
91
- self.showRightNavigationButton = YES;
92
- self.rightNavigationButtonTitle = @"Skip";
93
- self.rightNavigationButtonTextFont = [UIFont systemFontOfSize:13 weight:UIFontWeightRegular];
94
- self.rightNavigationButtonTextColor = [UIColor yellowColor];
95
- }
96
- {
97
- self.progressBarHeight = 40;
98
- self.progressTintColor = [UIColor colorWithRed:86/255.0 green:187/255.0 blue:59/255.0 alpha:1];
99
- self.progressBackgroundColor = [UIColor clearColor];
100
- }
101
97
```
102
98
103
99
#### Custom progress bar
@@ -116,10 +112,8 @@ userConf.progressBackgroundColor = [UIColor clearColor];
116
112
![ Custom_UI] ( https://raw.githubusercontent.com/ICU-Coders/IconLib/master/ZFWKWebView/bottomBar.jpg )
117
113
118
114
```
119
- {
120
- self.showBottomBar = YES;
121
- self.showCloseButton = NO;
122
- }
115
+ self.showBottomBar = YES;
116
+ self.showCloseButton = NO;
123
117
```
124
118
125
119
0 commit comments