Press ESC to close

Xamarin Forms Back Button Text

I wanted to share with you a problem here that I find it very difficult for me to find a solution. When I ran the app for iOS, it wrote the name of the previous page next to the back icon. This, in turn, caused the design to look a bit distressing. Finding the solution was a bit tough, but it was very easy actually.

First we need to put this in the page before the page with the back key. Because the back key contains the name of the previous page on the page. We can change this very easily. We need to write the following line of code to the page that goes to the page to be restored.

NavigationPage.SetBackButtonTitle(this, "Geri");

Burada geri yazan yere siz istediğinizi yazabilirsiniz. Eğer sorularınız olursa yorum veya mail atarak ulaşabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *