title: GoBack() to previous page UWP
body: <p>I launch a page on UWP thanks to PageRenderer, this page allows take picture and I want go back when user take a pciture.</p>
  
  <p>My problem is when I go back with hardware button I have no problem but with function goback doesn't work.</p>
  
  <p>This is my code : </p>
  
  <pre><code> var frame = Window.Current.Content as Frame;
                  if (frame != null &amp;&amp; frame.CanGoBack)
                  {
                      frame.GoBack();
                  }
  </code></pre>
  
  <p>CanGoBack return false.</p>
  
  <p>So you have <strong>some idea</strong></p>
  
  <p>Thanks</p>