1

I'm trying to use a SFSafariViewController in the background to interact with cookies from a website. It seems that the pages is not loaded when the controller is not visible. Is that how it should be? What ways do I have to fix except than making sure the controller is always visible?

Guig
  • 9,891
  • 7
  • 64
  • 126
  • Create a new window with a low window level and add it to that. It should load without the user ever being able to see it. – dan Dec 13 '16 at 21:01
  • Search deeper - there was a comment here weeks ago that this view controller would not work offscreen - deliberate design by Apple. You will surely uncover more on this issue by digging. – David H Dec 13 '16 at 21:36
  • 1
    It'd be great if you had a link to such comment. There's no such mention in the Apple doc, and Google didn't help me either. – Guig Dec 13 '16 at 22:57

0 Answers0