How to change the color of the address bar and tab menu in SwiftUi 3.0 using SFSafariViewController. I've tried various things, but that colour doesn't render itself in the simulator.
ContentView
import SwiftUI
import SafariServices
struct ContentView: View {
我正在使用Swift 2中的SFSafariViewController在iPad Air 2上显示带有IOS9.1 (13B143)的网页。每个网页都需要用户的凭据。但是,当用户按下注销按钮时,我需要清除这些凭据。我尝试使用以下方法:
let allCreds = NSURLCredentialStorage.sharedCredentialStorage().allCredentials
for (protectionSpace, userCredsDict) in allCreds {
for (_, cred) in userCredsDict {