File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,19 +35,22 @@ Alternatively you can directly add the `ZFWKWebView.h` and `ZFWKWebView.m` sourc
3535
3636## Usage
3737
38- ### DefaultConfig
39- ```
40- ZFWKWebVC *web = [[ZFWKWebVC alloc] initWithDefaultConfig];
41- [web.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://www.apple.com.cn"]]];
42- [self presentViewController:web animated:YES completion:nil];
43- ```
38+
4439### Custom Config
4540Subclass config from ` ZFWKWebVCConf `
4641```
4742@interface ZFWKUserDefaultConf : ZFWKWebVCConf
4843ZFWKUserDefaultConf *userConf = [[ZFWKUserDefaultConf alloc] init];
4944ZFWKWebVC *web = [[ZFWKWebVC alloc] initWithConf:userConf];
5045```
46+
47+ ### DefaultConfig
48+ ```
49+ ZFWKWebVC *web = [[ZFWKWebVC alloc] initWithDefaultConfig];
50+ [web.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://www.apple.com.cn"]]];
51+ [self presentViewController:web animated:YES completion:nil];
52+ ```
53+
5154### Register js or event with config
5255Body is serialization response
5356```
You can’t perform that action at this time.
0 commit comments