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

安稳与你 提交于 2019-12-10 19:53:50

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/36551946/how-do-i-use-sfsafariviewcontroller-with-a-dark-theme-like-this-user

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!