Xcode storyboard is masking uitabbarcontroller ele

2019-09-14 04:57发布

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.

1条回答
你好瞎i
2楼-- · 2019-09-14 05:54

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.

查看更多
登录 后发表回答