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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:25:24+00:00 2026-06-17T06:25:24+00:00

I am fairly new to Xcode, but I have run into a bit of

  • 0

I am fairly new to Xcode, but I have run into a bit of a problem. I have a tabbed view controller, and one subtab has a UITableView. On cell click, I need TableData (a ViewController) to open up. For some reason, I just get a black screen. I then changed my code to this:

TableData *newView = [self.storyboard instantiateViewControllerWithIdentifier:@"TableData"];
[self presentViewController:newView animated:YES completion:nil];

but I get an error SIGABRT in Xcode. How do I fix this?

This works, but gives me a black screen:

TableData *view = [TableData alloc];
view.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController: view animated:YES];
  • 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-17T06:25:26+00:00Added an answer on June 17, 2026 at 6:25 am

    Just create an identifier for the segue inside the storyboard and then use:

    [self performSegueWithIdentifier:@"yourTableViewStoryboardSegueIdentifier" sender:self];
    

    UPDATE:

    Problem was most likely due to user grabbing an invalid row from his tableView. In order to just grab the row number all you need to do is:

    int rowNumberSelected = indexPath.row;
    

    As for his second code snippet, the reason its only showing a black screen is because he is not actually linking it to his viewController in the storyboard. He is simply just allocating the code. If he added subviews through the code, then they would show up but nothing from the storyboard.

    Since the user is using Storyboard, its always better to just use segues and dismissals however.

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

Sidebar

Related Questions

Fairly new to Jquery here.... but one thing I have been told and being
I'm fairly new to iOS programming, but have a basic understanding of it. I
I'm fairly new to Objective C, but have had some experience with Java. In
I'm fairly new to Objective-C and I'm running into a problem. I need to
i am fairly new to xcode, i have to create many same identical projects
Fairly new to asp.net Mvc and jquery. Have the following code working fine, but
I am fairly new to XCODE development currently following several tutorials. Bumped into an
I am fairly new to XCode and the Objective-C language. When I am instantiating
I am fairly new to XCode and the Objective-C language. When I am instantiating
I am new to fairly new to AS3 and I have found myself needing

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.