I have a UITableView
with cells which perform a segue to an other simple detail view. The UITableView
and detail view are embed in a Navigation Controller.
On my UITableView
I put a UISearchController
bar folowing this tutorial:
http://www.jhof.me/simple-uisearchcontroller-implementation/
So now, I have the following graphic problem: When I perform a segue by tapping a cell after having make a research, I arrive to my detail view. But when I tap the Back button in the Navigation Bar, a mysterious black bar appears just above the TabBar. When the animation is over, the black bar disappears.
But when I tap the return button from the detail view without having done a research to arrive at this detail view, there is no black bar.
I can't understand why there is that black bar. I just note the black bar's height is equal to the TabBar's height. Maybe a link ?
EDIT: I have solved the problem, it was linked with the TabBarController, but I don't understand why. I just have changed it and I made links with the different views again and particularly with my former bugged search view. After that, no more black bar...
I was able to solve this issue by setting extendedLayoutIncludesOpaqueBars
to YES
on the main table view.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With