Podrover Diaries: Cleaning a stain in the iOS navigation bar
Podrover Diaries is a series about my adventures in building Podrover, a service to track, collect and share your podcast reviews. Subscribe to the RSS feed or join my newsletter to stay up to date with upcoming adventures.
When I released the 1.3.5 version of Podrover some customers reported the presence of a “stain”.
Here it is (look at the top and bottom right).
I didn’t notice it at first but it’s creepy, isn’t it? I suspect this was introduced when I added the UISegmentedControl
to the navigation bar.
The solution is easy, if you know it. Just make sure that the navigation bar view has the same background color of the view.
self.navigationController.view.backgroundColor = self.view.backgroundColor;
Many thanks to Roland Leth for letting me know.
Version 1.3.6 is now in the store and the stain has been cleaned.