Set navbar title background color (swift)
<p>I am wanting to change the background of the UI Navbar title in iOS. I want the final result to appear like the image below:</p>

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

<p>Please let me know if this is possible or if I will have to do a workaround.</p>

<p><a href="https://stackoverflow.com/questions/24687238/changing-navigation-bar-color-in-swift">Changing navigation bar color in Swift</a> does not address the background color of the title text for the UINavigationBar</p>