title: How to clear cache of safari in iOS app?
body: <p>Please dont mark as Duplicate because I have tried all things but not working plz some one help me.</p>
  
  <p>My app is having google sign in, while sign in I am getting all the previous signed-in accounts. How to remove those accounts?</p>
  
  <p>Thank you in advance.</p>
  
  <pre><code>//MARK:- clear Cache
                  URLCache.shared.removeAllCachedResponses()
                  URLCache.shared.diskCapacity = 0
                  URLCache.shared.memoryCapacity = 0
                  self.deleteCoreData()
  
                  GIDSignIn.sharedInstance().disconnect()
                  GIDSignIn.sharedInstance().signOut()
                  for cookie in HTTPCookieStorage.shared.cookies! {
                      HTTPCookieStorage.shared.deleteCookie(cookie)
                  }
  
                  // Removes cache for all responses
                  URLCache.shared.removeAllCachedResponses()
  </code></pre>
  
  <p>Sorry, For duplicate question but I tried above code but its not working. Can please anyone guide me where am I wrong ?
  Thank you again.</p>