Search code examples
iosobjective-ccocoa-touchios9sfsafariviewcontroller

How do I use SFSafariViewController with a dark theme like this user?


I saw in a screenshot to a StackOverflow question that a user presented a darkened SafariViewController: https://stackoverflow.com/a/36099965/998117

How is this accomplished? I can't seem to get it to take effect using UIAppearance.


Solution

  • It depends on the Safari App , if you enable private browsing mode then it will change in your app also