Xamarin Forms: how to hide back button title?

后端 未结 4 2233
一个人的身影
一个人的身影 2021-02-20 04:54

In my Xamarin Forms iOS application the previous page name is also appearing with the back button in all pages. Is there any way to hide the title of the previous page?

4条回答
  •  悲哀的现实
    2021-02-20 05:27

    Adding to Cuckooshka answer, back button title gets hidden in landscape mode as

    UIBarButtonItem.Appearance.SetBackButtonTitlePositionAdjustment (new UIOffset (-100, -60), UIBarMetrics.LandscapePhone);
    

提交回复
热议问题