title: YouTube URL Scheme tvOS
body: <p>I am trying to open YouTube's app from my application with the URL scheme or the YouTube.com domain which opens YouTube's app directly on an iOS device.</p>
  
  <p>This is the code I tried:</p>
  
  <pre><code>[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"youtube://results?search_query=trailer+%@",movieTitle]]];
  </code></pre>
  
  <p>and</p>
  
  <pre><code>[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"https://www.youtube.com/results?search_query=trailer+%@",movieTitle]]];
  </code></pre>
  
  <p>But nothing seems to work. Any ideas on how to retrieve the URL scheme for YouTube's tvOS application?</p>