File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,26 +30,26 @@ - (void) show:(CDVInvokedUrlCommand*)command {
3030 bool readerMode = [options[@" enterReaderModeIfAvailable" ] isEqual: [NSNumber numberWithBool: YES ]];
3131 self.animated = [options[@" animated" ] isEqual: [NSNumber numberWithBool: YES ]];
3232 self.callbackId = command.callbackId ;
33-
33+
3434 vc = [[SFSafariViewController alloc ] initWithURL: url entersReaderIfAvailable: readerMode];
3535 vc.delegate = self;
3636
3737 bool hidden = [options[@" hidden" ] isEqualToNumber: [NSNumber numberWithBool: YES ]];
3838 if (hidden) {
3939 vc.view .userInteractionEnabled = NO ;
40- vc.view .alpha = 0.0 ;
40+ vc.view .alpha = 0.05 ;
4141 [self .viewController addChildViewController: vc];
4242 [self .viewController.view addSubview: vc.view];
4343 [vc didMoveToParentViewController: self .viewController];
44- vc.view .frame = CGRectZero ;
44+ vc.view .frame = CGRectMake ( 0.0 , 0.0 , 0.5 , 0.5 ) ;
4545 } else {
4646 if (self.animated ) {
4747 // note that Apple dropped support for other animations in iOS 9.2 or 9.3 in favor of a slide-back gesture
4848 vc.modalTransitionStyle = [self getTransitionStyle: options[@" transition" ]];
4949 }
5050 [self .viewController presentViewController: vc animated: self .animated completion: nil ];
5151 }
52-
52+
5353 NSString *tintColor = options[@" tintColor" ];
5454 NSString *controlTintColor = options[@" controlTintColor" ];
5555 NSString *barColor = options[@" barColor" ];
You can’t perform that action at this time.
0 commit comments