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 7001549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:49:04+00:00 2026-05-27T20:49:04+00:00

I basically have a splitview controller and immediately I would like to show a

  • 0

I basically have a splitview controller and immediately I would like to show a popup modal view controller.

I have wired up the UISplitView class with a modal segue to my other view controller (LoginView, just a straight UIViewController subclass) I basically just want to show that on load and I’m pretty sure I shouldn’t do this in the app delegate (however I could be wrong)

I want to do it with a

[something performSegueWithIdentifier:@"login" sender:something];

Where should I put it and what should I connect the segue to (I swear I have tried every different combination haha!)

(I’m using the universal master-detail view starting project from Xcode 4.2)

  • 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-05-27T20:49:04+00:00Added an answer on May 27, 2026 at 8:49 pm

    I would display this from your initial detail view controller (the right pane of your split view) since it will always be sent a -viewDidAppear: message regardless of launch orientation.

    In your -viewDidAppear: method, have the split view controller present the modal controller. Each view controller in a split view controller will already have its splitViewController property set. Ensure that your segue is connected from the split view controller (not one of its child view controllers) to the login view controller.

    - (void)viewDidAppear:(BOOL)animated
    {
        [super viewDidAppear:animated];
        [self.splitViewController performSegueWithIdentifier:@"login" sender:self.splitViewController];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I basically have a square image depicting a diagram and what I would like
I basically have something like this: void Foo(Type ty) { var result = serializer.Deserialize<ty>(inputContent);
basically have two questions. 1. Is there a c++ library that would do full
I basically have a layout like this: <body> <div style=height: 150px; width: 200px; background:
I basically have 3 layers ( Window > Scene > View ) that each
Since I basically have a model per view. I arrange my models in sub
Which STL container would fit my needs best? I basically have a 10 elements
I basically have a class within another class (child). I'm trying to get the
I basically have: Public Class Job: MyBaseClass { public virtual string JobInformation {get;set;} ...
I basically have a form that you input chat messages into. It looks like

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.