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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:54:37+00:00 2026-06-14T05:54:37+00:00

I am working on an app that has a TabView controller, and in each

  • 0

I am working on an app that has a TabView controller, and in each tab is a TabeView, I have the TableView delegate and dataSource set to the main ViewController of the Object. I use the following code to try and push a new ViewController to the NavigationController:

-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    DonationsDataViewController *data = [self.storyboard instantiateViewControllerWithIdentifier:@"donationData"];
    //TODO set data to be passed;
    [self.navigationController pushViewController:data animated:YES];
    NSLog(@"Show donation details.");
}

The problem I am having is that the app does not crash, I get my Log of: Show Donation details., but it never pushed the ViewController, am I doing something wrong here? If so, what would be the appropriate path to take to fix the problem?

EDIT

See THIS for more information on the structure of the project. I am new to iOS and this is just a project to play around with and learn. The zipped project can be downloaded 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-14T05:54:39+00:00Added an answer on June 14, 2026 at 5:54 am

    Have you verified that the navigationController instance is not nil? Sending messages to instances that are nil is valid in Objective-C, unlike in C#/Java, where calling methods on instances that are null will throw an exception.

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

Sidebar

Related Questions

So I'm working on an app that has a tab bar for the main
I am working on a web-app system that has multiple apps, each with a
I am working on a simple app tab-bar based application that has two views.
I am working on an app that has multiple tabs. In the first tab
I am working on an app that has a navigation view controller in a
I am working on iphone app that has tab bar at the bottom of
I have an App that has been working and selling in the App store
I am working on a app that has multiple types of users, each user
I'm writing a social networking app that has contacts sync functionality. I have working
I'm working on an app that has 1 main list of videos, and a

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.