title: How do I add a view to the top of an app in iOS 13/14
body: <p>I'm trying to add a view to my app that is persistent across flows and sits above all other views. In previous versions of iOS i've been able to simply add a subview to the <code>UIWindow</code> that sat atop my application however it would appear that as of iOS 13 this is no longer possible.</p>
  <p>I've tried the following, but to no success:
  <code>UIApplication.shared.windows.first(where: { $0.isKeyWindow })?.addSubview(someView)</code></p>
  <p>Debugging a bit further, it appears that my app does not have a window at all present on its view hierarchy. I know this because when putting a breakpoint on the follow forEach statement, I never get a breakpoint to execute.</p>
  <pre><code>UIApplication.shared.windows.forEach { (window) in
      window.addSubview(myView)
  }
  </code></pre>
  <p>Any advice on how to achieve this, on all iOS versions 11 through 14 would be much appreciated.</p>