Changing navigation bar Back button text in PCL

JassimRahmaJassimRahma USMember ✭✭✭


I have a PLC Xamarin.Forms project.

It created three projects, the common, iOS and Droid.

I created a page in the common because that's the place I guess I should create all my pages in it.

In that page, I want to change the back button text so I referred to this question..

so I used:

NavigationController.NavigationItem.BackBarButtonItem = new UIBarButtonItem("Go Back", UIBarButtonItemStyle.Plain, null);

but I am getting:

How to fix this please?


Sign In or Register to comment.