Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
YH_Explorer
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
孟顺
6 years ago
Commit
d0c2c1f7cb5729f067352231703da798edebdbec
1 parent
e8b949f5
debug 模式下可以控制 wk 和ui webview切换
review by 枪兵
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
YHExplorer/CordovaLib/Classes/Public/CDVViewController.m
YHExplorer/CordovaLib/Classes/Public/CDVViewController.m
View file @
d0c2c1f
...
...
@@ -524,9 +524,9 @@
NSString
*
useWK
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
@"USE_WK"
];
if
([
useWK
isKindOfClass
:
NSString
.
class
]
&&
[
useWK
isEqualToString
:
@"N"
])
{
defaultW
ebViewEngineClass
=
@"CDVUIWebViewEngine"
;
w
ebViewEngineClass
=
@"CDVUIWebViewEngine"
;
}
else
{
defaultW
ebViewEngineClass
=
@"CDVWKWebViewEngine"
;
w
ebViewEngineClass
=
@"CDVWKWebViewEngine"
;
}
#endif
// Find webViewEngine
...
...
Please
register
or
login
to post a comment