iOS 11 Navigation bar large title have black color when push on pop view controller : <p>I have a problem with the new navigation bar for iOS 11.</p>

<p>In root view set new navigation by code: </p>

<pre><code>if (@available(iOS 11.0, *)) {
    self.navigationController.navigationBar.prefersLargeTitles = YES;
    self.navigationItem.largeTitleDisplayMode = UINavigationItemLargeTitleDisplayModeAlways;
}
</code></pre>

<p>Then from root view, I pushed to another view and set code navigation bar by </p>

<pre><code>if (@available(iOS 11.0, *)) {
    self.navigationItem.largeTitleDisplayMode = UINavigationItemLargeTitleDisplayModeNever;
}
</code></pre>

<p>It works well. However, when push and pop view a black color appeared like the image below: </p>

<p><a href="https://i.stack.imgur.com/L2cUU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/L2cUU.png" alt="enter image description here"></a></p>

<p>I don't know why the black color appeared on this view although I did not set back ground for navigation bar is a black color for the whole screen in my app. </p>

<p>Someone have any idea for the problem. Please drop me some suggestion to solve that bug. Thanks.</p>
