File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ ZFWKWebVC *web = [[ZFWKWebVC alloc] initWithDefaultConfig];
44
44
### Custom Config
45
45
Subclass config from ` ZFWKWebVCConf `
46
46
```
47
+ @interface ZFWKUserDefaultConf : ZFWKWebVCConf
48
+ ZFWKUserDefaultConf *userConf = [[ZFWKUserDefaultConf alloc] init];
47
49
ZFWKWebVC *web = [[ZFWKWebVC alloc] initWithConf:userConf];
48
50
```
49
51
### Register js or event with config
Original file line number Diff line number Diff line change @@ -58,9 +58,7 @@ - (void)temp {
58
58
- (void )buttonClicked : (UIButton *)button {
59
59
if (button.tag == 1 ) {
60
60
ZFWKUserDefaultConf *userConf = [[ZFWKUserDefaultConf alloc ] init ];
61
-
62
61
ZFWKWebVC *web = [[ZFWKWebVC alloc ] initWithConf: userConf];
63
-
64
62
[self .navigationController pushViewController: web animated: YES ];
65
63
66
64
} else {
You can’t perform that action at this time.
0 commit comments