提交
This commit is contained in:
@@ -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, *)) {
|
||||
|
||||
Reference in New Issue
Block a user