Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7871563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:56:41+00:00 2026-06-03T01:56:41+00:00

There has to be a very simple solution to this, but it has been

  • 0

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:
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T01:56:42+00:00Added an answer on June 3, 2026 at 1:56 am

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

You would have thought that tere is a simple solution to this but there
There has to be a simple explanation for this. I have a parent <div>
This is not a unique problem that has not been there in the past,
There has to be a way to do this, I was googling information but
There has to be something utterly simple I'm overlooking here, but for the life
i know this question has been asked here but i am stuck with this
I know this has been asked a few times but please bear with me.
This seems to me like a very simple question, but I can't seem to
I have this very simple query in my database in SQL Server 2008 R2:
There has been some talk of Website performance monitoring tools and services on stackoverflow,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.