@@ -314,20 +314,20 @@ - (void)show:(CDVInvokedUrlCommand*)command withNoAnimate:(BOOL)noAnimate
314
314
dispatch_async (dispatch_get_main_queue (), ^{
315
315
if (weakSelf.inAppBrowserViewController != nil ) {
316
316
float osVersion = [[[UIDevice currentDevice ] systemVersion ] floatValue ];
317
- if (!tmpWindow) {
317
+ if (!self-> tmpWindow ) {
318
318
CGRect frame = [[UIScreen mainScreen ] bounds ];
319
319
if (initHidden && osVersion < 11 ){
320
320
frame.origin .x = -10000 ;
321
321
}
322
- tmpWindow = [[UIWindow alloc ] initWithFrame: frame];
322
+ self-> tmpWindow = [[UIWindow alloc ] initWithFrame: frame];
323
323
}
324
324
UIViewController *tmpController = [[UIViewController alloc ] init ];
325
325
326
- [tmpWindow setRootViewController: tmpController];
327
- [tmpWindow setWindowLevel: UIWindowLevelNormal];
326
+ [self -> tmpWindow setRootViewController: tmpController];
327
+ [self -> tmpWindow setWindowLevel: UIWindowLevelNormal];
328
328
329
329
if (!initHidden || osVersion < 11 ){
330
- [ tmpWindow makeKeyAndVisible ];
330
+ [ self -> tmpWindow makeKeyAndVisible ];
331
331
}
332
332
[tmpController presentViewController: nav animated: !noAnimate completion: nil ];
333
333
}
@@ -787,7 +787,7 @@ - (void)createViews
787
787
788
788
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000
789
789
if (@available (iOS 11.0 , *)) {
790
- [self .webView.scrollView setContentInsetAdjustmentBehavior: UIScrollViewContentInsetAdjustmentNever];
790
+ [self .webView.scrollView setContentInsetAdjustmentBehavior: UIScrollViewContentInsetAdjustmentNever];
791
791
}
792
792
#endif
793
793
0 commit comments