Using Xamarin Forms - how can I hook up a button click to a swipe gesture?
<p>I have an app using a master detail page and a navigation page within it. On Android when you navigate to the account page via the burger menu the nav bar stays at the top of the screen as expected so you can navigate using it. On iOS the nav bar disappears, so I've created a custom bar with a burger menu icon. When someone clicks the icon on the custom nav bar I want the burger menu to swipe out from the left.</p>

<p>I've attached a gesture recogniser to the burger icon but I don't know what to put in the called method to make it perform the swipe action.</p>

<p>Nav bar on second page:</p>

<pre><code>&lt;StackLayout IsVisible="{Binding _isiPhone}" Orientation="Horizontal" BackgroundColor="#008334"&gt;
    &lt;Image Source="burger.png" HorizontalOptions="StartAndExpand"&gt;
       &lt;Image.GestureRecognizers&gt;
          &lt;TapGestureRecognizer Tapped="Burger_Clicked"&gt;&lt;/TapGestureRecognizer&gt;
       &lt;/Image.GestureRecognizers&gt;
    &lt;/Image&gt;
&lt;/StackLayout&gt;
</code></pre>

<p>Event handler:</p>

<pre><code>private void Burger_Clicked(object sender, EventArgs e)
{
}
</code></pre>

<p>android view:</p>

<p><a href="https://i.stack.imgur.com/lYavY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lYavY.jpg" alt="android view"></a></p>

<p>android burger menu view:</p>

<p><a href="https://i.stack.imgur.com/VQ88E.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VQ88E.jpg" alt="android burger menu"></a></p>

<p>iOS view (with custom nav bar):</p>

<p><a href="https://i.stack.imgur.com/4dV1z.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4dV1z.jpg" alt="iOS view"></a></p>

<p>iOS burger menu:</p>

<p><a href="https://i.stack.imgur.com/Uyy97.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Uyy97.jpg" alt="iOS burger menu"></a></p>