how to use push storyboards without hiding navigation bar?

116 views Asked by At

I am building an iOS app using storyboards. I integrated Facebook in my app.

I'm facing a problem after successful login via Facebook and user close the app and come again,i want it should be on a particular screen.

I implemented push storyboard code but when user come on that screen navigation bar hides which is my problem.

Could someone help me how I can handle this.

here is my code:

if (FBSession.activeSession.isOpen)
{

    PlayNext *newView = [self.storyboard instantiateViewControllerWithIdentifier:@"Play"];
    [self.navigationController pushViewController:newView animated:YES];

     }
0

There are 0 answers