We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee18ab0 commit 14b470aCopy full SHA for 14b470a
2 files changed
README.md
@@ -44,6 +44,8 @@ ZFWKWebVC *web = [[ZFWKWebVC alloc] initWithDefaultConfig];
44
### Custom Config
45
Subclass config from `ZFWKWebVCConf`
46
```
47
+@interface ZFWKUserDefaultConf : ZFWKWebVCConf
48
+ZFWKUserDefaultConf *userConf = [[ZFWKUserDefaultConf alloc] init];
49
ZFWKWebVC *web = [[ZFWKWebVC alloc] initWithConf:userConf];
50
51
### Register js or event with config
sample/ZFWKWebView/ViewController.m
@@ -58,9 +58,7 @@ - (void)temp {
58
- (void)buttonClicked:(UIButton *)button {
59
if (button.tag == 1) {
60
ZFWKUserDefaultConf *userConf = [[ZFWKUserDefaultConf alloc] init];
61
-
62
63
64
[self.navigationController pushViewController:web animated:YES];
65
66
} else {
0 commit comments