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

  • Home
  • SEARCH
  • 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 7873345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:29:07+00:00 2026-06-03T02:29:07+00:00

I am using Storyboards. Basically my app is about On first launch -You get

  • 0

I am using Storyboards.
Basically my app is about

On first launch
-You get a naviguation controller + view controller (let’s call it View A)
-You are asked to log in

On other launch
-You still get a nav controller but
-If you are logged, I want to get immediately to a new view (let’s call it View B)
-If you are not logged, I want to show back View A

How do I do this
if(logged in) show View B
else if(not logged in) show View A

With .xib, this isn’t too difficult, but with Storyboards, I really don’t know how to get this working ?

Thanks !

  • 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-03T02:29:09+00:00Added an answer on June 3, 2026 at 2:29 am

    here’s something that you can do , i am not sure if it is the best way but, you could make viewB as your main view and with your opening just create a segue from B->A initially. this will give you the opportunity to control 2 of your views, then check if the user has logged in or not , if the user has already logged in just pop the viewA if not let the user login and then pop.

    or you can go with a different approach , you can create another view which is lets say viewC and create 2 segues from this view to the other 2 to control the view load operations.

    hope this helps ..

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

Sidebar

Related Questions

Using storyboards you have no easy access to the first view controller in appDelegate
My app is using Storyboards. I want to post the hierarchy here: view Controller
I created an app for iPad (not using StoryBoards), with a UITabBarController. I added
I have an iOS 5 Tabbed Application, using Storyboards. My Tabbar Controller points to
I'm writing an iOS 5 app (in Xcode 4.3, using Storyboards and ARC) that
I am building an app using storyboard. I have added a table view to
I am using storyboards and have dragged a scrollview window onto a view. In
I have an ios5 app developed using storyboards that currently displays a tab bar
First of all, I am using XCode 4.2 and I am not using storyboards.
I have a TabBar app built in Xcode 4.2.1 using storyboards. The problem is

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.