h5修改
This commit is contained in:
@@ -150,13 +150,13 @@
|
|||||||
|
|
||||||
[self.window.rootViewController.view addSubview:custom];
|
[self.window.rootViewController.view addSubview:custom];
|
||||||
|
|
||||||
|
//
|
||||||
UnityFramework *unityFramework = [UnityFramework getInstance];
|
// UnityFramework *unityFramework = [UnityFramework getInstance];
|
||||||
UnityAppController *appController = [unityFramework appController];
|
// UnityAppController *appController = [unityFramework appController];
|
||||||
|
//
|
||||||
// 获取 Unity 根节点视图
|
// // 获取 Unity 根节点视图
|
||||||
UIView *unityRootView = [appController rootView];
|
// UIView *unityRootView = [appController rootView];
|
||||||
unityRootView.alpha=0.2;
|
// unityRootView.alpha=0.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void)initWebview:(int)type{
|
-(void)initWebview:(int)type{
|
||||||
@@ -307,7 +307,7 @@
|
|||||||
[self addSubview:webviews[type]];
|
[self addSubview:webviews[type]];
|
||||||
webviews[type].allowsLinkPreview = NO;
|
webviews[type].allowsLinkPreview = NO;
|
||||||
[self insertSubview:webviews[type] atIndex:0];
|
[self insertSubview:webviews[type] atIndex:0];
|
||||||
webviews[type] .alpha=0.5;
|
// webviews[type] .alpha=0.5;
|
||||||
|
|
||||||
// if(type==2){
|
// if(type==2){
|
||||||
// webview_1 = [[WKWebView alloc] initWithFrame:self.frame configuration:webViewConfiguration];
|
// webview_1 = [[WKWebView alloc] initWithFrame:self.frame configuration:webViewConfiguration];
|
||||||
|
|||||||
Reference in New Issue
Block a user