Yalantis / FoldingTabBar.iOS

Folding Tab Bar and Tab Bar Controller
https://yalantis.com
MIT License
3.68k stars 458 forks source link

Performing a segue from a ViewController #78

Open pbeneteau opened 7 years ago

pbeneteau commented 7 years ago

The more information you provide, the faster we can help you.

# Report a bug

I want to create a segue from a ViewController to a YALFoldingTabBarController.

## What did you do?

I have a button in a ViewController where I created a show segue in the UIStoryBoard.

## What did you expect to happen?

I expected to see the YALFoldingTabBarController that I initialised in the AppDelegate and in the UIStoryBoard.

## What happened instead?

When I touch the button that is supposed to perform the segue, I only see the first ViewController that represent the first item in the tab bar: The tab bar is not here. I tried to build and run my app with the YALFoldingTabBarController as initial ViewController and it works!

## My Environment

Vodolazkyi commented 7 years ago

Hi! Try this example project below: https://www.dropbox.com/s/j9wnd84tc40he7u/Example-Swift.zip?dl=0

Let me know if this solves your problem

dmaulikr commented 6 years ago

These are the line code that I've done in my existing project and it works.. Hope this helps you too. https://www.dropbox.com/s/8ixdcm43poprxz2/EnterDetailsViewController.m?dl=0