Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Back button not showing up (visible) in iOS

$
0
0

I am working with Xamarin Forms (version 1.4.0.6341). The back button in iOS is not showing up..
What I'd like to have is a back button on the left side of the title of the Navigation Page. What I tried:
- Setting up NavigationPage.SetHasBackButton(this,true) in the constructor, but that didn't work.
- Setting up NavigationPage.SetHasNavigationBar(this,true)in the constructor, but that didn't work.

The code NavigationPage.GetHasBackButton(this) returns true crazy enough.
I can add a back button to the toolbaritems, but that appears on the right side of the title. I also experimented with a MasterDetailPage. That button appears on the left side, but is not a solution for this "problem". I've got a static NavigationPageGenerator(page) function, which returns a NavigationPage with the page as content. So if I can add some code in this static function that makes the back button show up in all my pages, that would be great.

I saw articles about how to get rid of the back button, but I don't know how I can show it :'). I have been working with Xamarin for 2 months now, so I'm really new to building cross platform apps. So maybe I'm missing something. It looks like this is default in Xamarin.Forms iOS, because it is not visible in a new solution.

Thanks for your time


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>