There has to be a very simple solution to this, but it has been racking my brain!
I have an app that presents a “Login” screen on app launch if a Facebook session is not valid and it proceeds to show the main screen if a Facebook session is valid. All of this defined in my AppDelegate.m
That works just fine when the app launches. It choses the right viewController if Facebook is or isn’t logged in.
My issue is with the Login screen that is presented if Facebook is not logged in. It is a UIViewController and has a UIButton that logs in the user, when the user is logged in it SHOULD perform a segue to the main view which is a UITableViewController with an embedded NavigationController.
I have tried using:
[self performSegueWithIdentifier:@"fbLoginYes" sender:self];
But it never segues, even when triggered directly from the button.
Is there some issue with triggering a segue like this? i.e. ViewController to TableViewController?
Any help would be appreciated!
Here’s an image of my Storyboard:

What type of a segue is it? Is it a Push?
And do you really have a UINavigationController embedded in a UITableViewController? Or is it the other way around?
The first thing I would check though is the name of the Segue in your Storyboard. Also, in a view controller that is launching a segue, you can catch a method named
-(void) prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender. Try putting a breakpoint into it and see whether it gets called. If it does, the problem is probably in the actual segue and if it doesn’t, it just means you are not invoking the segue right.