title: Open url from Today Extension
body: <p>I'm trying to open a deep link from my today extension widget to my main app with no luck. </p>
  
  <pre><code>    //ExtensionViewController.swift
  public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
  
      let url = URL(string: "ACTION_TODAY://")
      self.extensionContext?.open(url!, completionHandler: { (completed) in
      })
  }
  </code></pre>
  
  <p>Info.plist of the main app : (I guess <code>ACTION_TODAY://</code> is not needed, but <code>ACTION_TODAY</code> alone gives me the same result)
  <a href="https://i.stack.imgur.com/q5tCO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/q5tCO.png" alt="enter image description here"></a></p>
  
  <pre><code>    //AppDelegate.swift
  func application(_ application: UIApplication, open url: URL,
                   sourceApplication: String?, annotation: Any) -&gt; Bool {
  
      let action_today = "ACTION_TODAY://"
      if url.absoluteString.contains(action_today) {
          return true
      }
  
      return false
  }
  
  func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -&gt; Bool {
  
      let action_today = "ACTION_TODAY://"
      if url.absoluteString.contains(action_today) {
          return true
      }
      return false
  }
  </code></pre>
  
  <p>When I select one of the item of the collectionView displayed in the today extension, the console gives me a <code>__55-[_NCWidgetExtensionContext openURL:completionHandler:]_block_invoke failed: Error Domain=NSOSStatusErrorDomain Code=-50 "(null)"</code></p>