title: Opening content from URL Scheme when App is closed
body: <h1>My issue</h1>
  
  <p>I'm implementing URL Schemes in my application and they're overall working fine when the app is in the foreground or the background. However, I've noticed that when it is completely closed and another app tries to access content using my URL (eg. <code>app:page?image=1</code> ) which would normally work, it just opens the app but the content is never caught.</p>
  
  <h1>My Approach</h1>
  
  <p>I've set up code in both my AppDelegate and SceneDelegate methods</p>
  
  <pre><code>func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:])
  </code></pre>
  
  <p>And </p>
  
  <pre><code>func scene(_ scene: UIScene, openURLContexts URLContexts: Set&lt;UIOpenURLContext&gt;) {
  </code></pre>
  
  <h1>Desired behavior</h1>
  
  <p>It opens when the app is in the background, foreground or closed</p>
  
  <h1>Actual behavior</h1>
  
  <p>It only opens when in foreground or background</p>