How to remove reappearing padding in NavigationBar for Xamarin.Forms on iOS?

I'm using the snippet of code in this SO answer to remove the spacing between icons, and it seems to remove also the padding to the right in the NavigationBar. The problem is that after screen orientation changes of after I push or pop pages in and out of the navigation stack the padding to the right reappears.

Why is this padding removed the first time the custom renderer adds the custom views?

Is there a way to remove the padding altogether?

enter image description here

enter image description here

Sign In or Register to comment.