I am trying to get a navigation bar to stretch across the whole width of the screen when in portrait and landscape. To do this I added some constraints for the right and left border to be 0 pixels indent as follows;

![enter image description here](https://i.stack.imgur.com/yFWL3.png)

However, this seems to still be failing and when I look at the view after changing there is an indent as can be seen in the following picture.

![enter image description here](https://i.stack.imgur.com/CVEgz.png)

How can you stop this form happening so as to make the navigation bar stretch across the whole screen. 

Thanks