Reputation: 301
I've encountered an issue with the navigation bar height in the iOS version of my Xamarin Forms Prism app whereby it appears to be double height.
It displays correctly on Android.
I navigate to the page in the normal Prism way (ViewDaily is a Detail of the MasterDetailPage MainPage):
await NavigationService.NavigateAsync("/MainPage/NavigationPage/ViewDaily");
But the same also happens if I navigate to as a normal Navigation Page. This isn't my use case as I need the MasterDetail Page but i tried as a test:
await NavigationService.NavigateAsync("/NavigationPage/ViewDaily");
Any help gratefully received.
Upvotes: 0
Views: 249
Reputation: 301
Thanks to Dan Siegel for the answer:
https://github.com/PrismLibrary/Prism/issues/2511
Add the following to the Detail (Content) Page:
ios:Page.LargeTitleDisplay="Never"
Upvotes: 0
Reputation: 10863
Navigate to ViewDaily
only, otherwise you add another navigation page...
await NavigationService.NavigateAsync("ViewDaily");
Upvotes: 0