0
votes

iOS newbie here.

I created a new "Tabbed Application" Project on Xcode. The storyboard had a tab view controller and two tabs by default called Item 1 and Item 2.

I deleted the two default tabs, created three new view controllers and connected them to the tab view controller, which gave the tab bar view controller three tabs.

When I launch the app on the iOS simulator, it still shows two tabs called Item 1 and Item 2, even though I added new tabs and changed their names.

This is the storyboard:

Storyboard

This is the simulator:

Simulator

1
try to reset your simulator and run - Jay Gajjar
@JayGajjar I tried, CMD+Q and re-ran it. Didn't work. - Fares K. A.
@FaresK.A. iOS Simulator > Reset Content and Settings - raurora
@raurora Tried that too, nothing. :/ - Fares K. A.

1 Answers

0
votes

So, I fixed it by deleting the app from the simulator and building it again. Must have been a bug with the simulator. :/ Thanks everyone!