This commit is contained in:
edy
2026-07-08 17:47:04 +08:00
parent 8ab9226e89
commit 24bd71052e
13 changed files with 30892 additions and 39577 deletions
+16 -16
View File
@@ -161,22 +161,22 @@ NSInteger _forceInterfaceOrientationMask = 0;
[UIApplication sharedApplication].statusBarHidden = YES;
UIView* unityView = UnityGetGLView();
UIViewController *vc = [UIViewController new];
vc.modalPresentationStyle = UIModalPresentationFullScreen;
//[vc.view setFrame:self.window.bounds];
//[vc.view setBackgroundColor:[UIColor orangeColor]];
[self.window setRootViewController:vc];
vc.modalPresentationStyle = UIModalPresentationFullScreen;
[vc.view addSubview:unityView];
H5View *hview;
hview = [H5View shared];
[vc.view addSubview:hview];
[hview setFrame:self.window.bounds];
[hview initView];
// UIView* unityView = UnityGetGLView();
//
// UIViewController *vc = [UIViewController new];
// vc.modalPresentationStyle = UIModalPresentationFullScreen;
// //[vc.view setFrame:self.window.bounds];
// //[vc.view setBackgroundColor:[UIColor orangeColor]];
// [self.window setRootViewController:vc];
// vc.modalPresentationStyle = UIModalPresentationFullScreen;
// [vc.view addSubview:unityView];
// H5View *hview;
// hview = [H5View shared];
// [vc.view addSubview:hview];
//
//
// [hview setFrame:self.window.bounds];
// [hview initView];
CTTelephonyNetworkInfo *networkInfo = [[CTTelephonyNetworkInfo alloc] init];
if (@available(iOS 12.0, *)) {