iOS10 SFSafariViewController not working when alpha is set to 0
<p>I'm using SFSafariViewController to grab user's cookie in my app. Here's is my code:</p>

<pre><code>SFSafariViewController *safari = [[SFSafariViewController alloc]initWithURL:[NSURL URLWithString:referrerUrl] entersReaderIfAvailable:NO];
    safari.delegate = self;
    safari.modalPresentationStyle = UIModalPresentationOverCurrentContext;
    safari.view.alpha = 0.0;
    safari.view.hidden = true;
    [self dismissViewControllerAnimated:false completion:nil];
    NSLog(@"[referrerService - StoreViewController] presenting safari VC");
    [self presentViewController:safari animated:false completion:nil];
</code></pre>

<p>This works well on iOS 9. but on iOS 10 it seems that the SF controller doesn't work (it also block my current context - which happens to be another UIWebView).</p>

<p>Anyone can suggest of an alternative way to hide a SFSafariViewController?</p>