title: Save Password Alert does not appear in Swift
body: <p>I want this alert to appear when the user logs in to my application.</p>
  
  <p><a href="https://i.stack.imgur.com/f3pQx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f3pQx.png" alt="enter image description here"></a></p>
  
  <p>I made this tutorial for this. <a href="https://www.raywenderlich.com/7162-ios-12-password-tools-improving-user-security-and-experience" rel="nofollow noreferrer">iOS 12 Password Tools: Improving User Security and Experience</a></p>
  
  <p>Also I have look <a href="https://stackoverflow.com/questions/55831632/autofill-ios12-alert-message-user-to-save-password-after-login-to-the-app-first">this</a> topic. And using this code in my LoginViewController.swift in viewDidDisappear or viewWillDisappear. But This alert does not appear at all.</p>
  
  <pre><code>override func viewWillDisappear(_ animated: Bool) {
      super.viewWillDisappear(animated)
  
      if user.id != 0 {
          usernameTextField.text = nil
          passwordTextField.text = nil
      }
  
  }
  </code></pre>
  
  <p>My <strong>entitlements</strong> file like this (Suppose that <strong>twitter.com</strong> is the website of my application):</p>
  
  <pre><code>&lt;key&gt;com.apple.developer.associated-domains&lt;/key&gt;
  &lt;array&gt;
      &lt;string&gt;applinks:twitter.com&lt;/string&gt;
      &lt;string&gt;webcredentials:twitter.com&lt;/string&gt;
  &lt;/array&gt;
  &lt;key&gt;com.apple.developer.authentication-services.autofill-credential-provider&lt;/key&gt;
  &lt;true/&gt;
  </code></pre>
  
  <p>And off course my <em>usernameTextField</em> content type is <strong>username</strong> and <em>passwordTextField</em> content type is <strong>password</strong>.</p>
  
  <p>So I want to ask why this alert didn't come off.</p>