title: UINavigationController crash UI on swipe action (black screen, video inside)
body: <p>I have a <code>UIViewController</code> which is pushed from <code>navigationController</code>  that uses custom left/back button with interactivePopGestureRecognizer, however, when I click a row from tableview my app sometimes stucks and after pressing home button and going background then reopening the app, it continues but swipe action of navigationcontroller becomes weird. Here is the video of what am I saying;</p>
  
  <p><a href="https://streamable.com/xvl38" rel="nofollow noreferrer">https://streamable.com/xvl38</a></p>
  
  <pre><code>//This is the function that I use to open chat from tableview on didSelectRowAt
  
  func openChat(with nick: String, isFromConversationList: Bool) {
          guard let chatVC = UIStoryboard(name: "Main", bundle: .main).instantiateViewController(withIdentifier: "ChatViewController") as? ChatViewController,
              let rootNC = UIApplication.shared.keyWindow?.rootViewController as? UINavigationController else {
                  return
          }
          rootNC.pushViewController(chatVC, animated: true)
  }
  
  override func viewDidLoad() {
      super.viewDidLoad()
      navigationController?.interactivePopGestureRecognizer?.delegate = nil
  }
  override func viewWillAppear(_ animated: Bool) {
      super.viewWillAppear(animated)   
      self.navigationController?.interactivePopGestureRecognizer?.isEnabled = true
  }
  override func viewDidDisappear(_ animated: Bool) {
      super.viewDidDisappear(animated)
      self.navigationController?.interactivePopGestureRecognizer?.isEnabled = false
  
  }
  </code></pre>
  
  <p>What can be the reason for that? </p>