title: Opening specific ViewController from Today Extension
body: <p>I have got two buttons on my today extension. One is dedicated to open MainViewController and the second one need to navigate to second ViewController. </p>
  
  <p>So I made a appURL:</p>
  
  <pre><code>   let appURL = NSURL(string: "StarterApplication://")
  </code></pre>
  
  <p>and then on a first button I call:</p>
  
  <pre><code>       self.extensionContext?.open(appURL! as URL, completionHandler:nil)
  </code></pre>
  
  <p>Which opens app on MainViewController.</p>
  
  <p>How can I open MainViewController and performSegue to my SecondViewController when tapping second button on Today Widget?</p>
  
  <p>I made a second URL scheme for that specific ViewController. I saw in other simmilar topics that it can be done by calling:</p>
  
  <pre><code>func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -&gt; Bool {
  }
  </code></pre>
  
  <p>in AppDelegate but don't have any idea how to use it.</p>