I'm experiencing a weird problem when I segue to a UIViewController I've made. ViewController B (the one I segue to) has a UIView that slides down using the TransitionCoordinator and constraints, but it shows a grey shadow at the right, like so:

Once the segue is completely done, it goes back to translucent and displays the blue UIView through the UINavigationBar with a nice blur.

This grey shadow is most likely due to a UIToolBar and UISegmentedControl within that toolbar on the UITableViewController that I segue from. It looks like this:

I'm using this code together with my UIToolBar:

- (UIBarPosition)positionForBar:(id<UIBarPositioning>)bar { return UIBarPositionTopAttached; }

I've tried to use a TransitionCoordinator to fade out the UIToolBar using it's alpha property, but without success. I've also visited other similar questions on SO, but I haven't gotten anywhere.

The strange thing is that it sometimes work as it should, but I can't figure out why it doesn't always happen nor how to completely remove it.

UPDATE:

Xcode view hierarchy:

View hierarchy in list:

Transparent navigationBar:

UPDATE 2:

Pulling down the UITableView also displays this, how can I attach the UIToolbar? Looks like the delegate methods isn't working propery

Please help me with this, Thanks!