Skip to content

Commit ee18ab0

Browse files
committed
Update README.md
1 parent bafe6cc commit ee18ab0

File tree

1 file changed

+15
-21
lines changed

1 file changed

+15
-21
lines changed

README.md

+15-21
Original file line numberDiff line numberDiff line change
@@ -76,28 +76,24 @@ ZFWKWebViewEventGoForwardKey
7676

7777
### Custom UI
7878

79-
#### Ugly, But it's realy flexible.
79+
#### Image is ugly, But `ZFWKWebView` is realy flexible.
8080

8181
![Custom_UI](https://raw.githubusercontent.com/ICU-Coders/IconLib/master/ZFWKWebView/customUI.jpg)
8282

8383
```
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];
8996
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-
}
10197
```
10298

10399
#### Custom progress bar
@@ -116,10 +112,8 @@ userConf.progressBackgroundColor = [UIColor clearColor];
116112
![Custom_UI](https://raw.githubusercontent.com/ICU-Coders/IconLib/master/ZFWKWebView/bottomBar.jpg)
117113

118114
```
119-
{
120-
self.showBottomBar = YES;
121-
self.showCloseButton = NO;
122-
}
115+
self.showBottomBar = YES;
116+
self.showCloseButton = NO;
123117
```
124118

125119

0 commit comments

Comments
 (0)