Search code examples
iosswiftxcodeswift3xcode-storyboard

Xcode storyboard is masking uitabbarcontroller elements with blue colour


When I launched my project, all the uitabbarcontroller views are covered in blue. I didn't set the background to blue in code or by using the storyboard. And all of the elements that I add onto the storyboard go behind this mask.

Here is what it looks like. What could I be doing wrong?

Using Xcode 10 and Swift 3.


Solution

  • This is a bug in Xcode 8, when you add an image to your tabbar item the blue area will be removed for that specific viewController. So add an image to the tabbar item and the blue mask will disappear.