1

I'm trying to put a tabBar inside of another tabBar. I want a tabBar on the bottom of the screen and then another tabBar that inside that view that will be able to render different components. A good example would be the Yik Yak app with the 'Nearby' and 'My Herd' tabBar and then the 'new' and 'hot' tabBar within those two views.

Yik Yak Picture

2 Answers2

1

You can accomplish this using a custom UISegmentedControl. You can customize it's appearance, and switch the visible view based on the selected segment!

Of course, you can also just use regular buttons to switch the visible view.

Community
  • 1
  • 1
bradkratky
  • 1,417
  • 1
  • 11
  • 23
1

You can use react-native-scrollable-tab-view for this.

Jagadish Upadhyay
  • 1,198
  • 11
  • 22