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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:30:09+00:00 2026-05-21T19:30:09+00:00

There are actually three views at play. My homeView, which is where I launch

  • 0

There are actually three views at play. My homeView, which is where I launch the picker from, which sets the StudyPickerController view as root to a navController, which is then presented inside of the popOverController. Then from within the StudyPickerController view, I need to push to the ScreenPickerController, a different view completely.

I have a UIPopOverController that is displaying the contents of a view that is a tableView. I would like to be able to push a new view with a viewController inside of this view, but as I will discuss, it is really close, but it just won’t push!

So from my homeView, when the button is pushed, an action is called and this code is run:

self.studyPicker = [[[StudyPickerController alloc] initWithStudyArray:self.studyArray ViewNum:butto.tag] autorelease];

UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:self.studyPicker];   

_studyPicker.delegate = self;
self.studyPickerPopover = [[[UIPopoverController alloc] initWithContentViewController:navController] autorelease];               

[self.studyPickerPopover presentPopoverFromRect:CGRectMake(120,45, 10,10) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];

And this works pretty well! The popOverController displays the contents of my StudyPickerController without any problems. I get the feeling that I am indeed getting access to my navigationController because the frame of the popOverController has a bar at the top, instead of just being a thin border, it has a navigationBar.

So now when I want to select a row in this view, I would like to push to a new view, also with a tableView, with my navigationController. This is the code:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

    NSArray * array = [_studyArray objectAtIndex:indexPath.row];

    ScreenPickerController * picker = [[ScreenPickerController alloc] init];
    picker.seriesGUID = array;
    picker.viewNumber = viewNumber;

    [self.navigationController pushViewController:picker animated:YES];
}

It seems to me that this should be working! But alas, I press a row, and it highlights, and nothing happens.

I’ve been working on this all day, so it very well could be that I am just missing something, but I don’t know what it is. Any help is appreciated

  • 1 1 Answer
  • 2 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-21T19:30:10+00:00Added an answer on May 21, 2026 at 7:30 pm

    It seems there are two classes involved here: your homeView class and the StudyPickerController. I’m guessing the tableView:didSelectRowAtIndexPath: method would be in the homeView class?

    In that case, self.navigationController is trying to access the navigation controller that homeView is in, not the navigation controller you put into the popover. Since homeView isn’t even in a navigation controller, the accessor returns nil.

    Instead, you will want to use something like [self.studyPicker.navigationController pushViewController:picker animated:YES];.

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

Sidebar

Related Questions

Is there a straight forward way to view the SQL command text actually executed
Hi I'm getting strange feedback from the feedback sandbox server. Actually there should be
Are these actually three different concepts or am I getting jumbled? (I've been reading
I was just wondering how many experienced programers out there actually map out their
There are actually 2 question i want to cover in this topic. 1) Is
I am curious if there is actually a mark-up language to describe the meanings
I am working with a set of what is essentially Attribute/Value pairs (there's actually
I have three tables in my DB (actually a few more than that) these
I know there is a tool that enables me to see what actually gets
Is there a way to setup authentication (ala Basic Authentication) without actually setting up

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.