Search code examples
iosobjective-cxcodeswiftsfsafariviewcontroller

Force SFSafariViewController to load the desktop version of a website


As the title suggests, I was wondering if there is a way to force SFSafariViewController to load the desktop version of a website.

Thanks


Solution

  • As of iOS 9, sadly no. Your best bet might be to create your own web view and use a different user agent as @vizllx suggests in the comments.