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