Can't Remove Tab Bar After Deleting Tab Bar Item in Storyboard (Swift 4)
Can't Remove Tab Bar After Deleting Tab Bar Item in Storyboard (Swift 4)
This should be ridiculously simple, but I just can't seem to find the answer.
Assume you start off with a brand new View Controller, and then drag in a Tab Bar Item from the object library (putting it on the bottom of the controller). Then you click on that item in the storyboard and click delete. The item is removed from the storyboard, but the tab bar remains. It no longer appears in the Controller Scene, but it still shows up on the Storyboard as a blank tab bar.
I can't figure out how to get rid of this ghost tab bar. The closest reference i could find to this problem was this old question, but the version is too different and couldn't get this to work. I know I could just undo these actions, but it is on a project where this was done a long time ago, and I can't figure out when the problem came up.
Any guidance would be much appreciated. Thanks!
After Adding Tab Bar Item
After Deleting Tab bar item
The tab bar isn't inside when expanding the view item, so it looks like it was properly removed.
– Adam S.
Mar 3 '18 at 0:58
1 Answer
1
Please select: Bottom Bar - none
Great, that finally got rid of it!
– Adam S.
Mar 3 '18 at 1:01
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
It looks like you have deleted the item that was inside the tab bar and not the tab bar itself. If you expand the view item, is the tab bar inside?
– Magnas
Mar 3 '18 at 0:38