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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:36:49+00:00 2026-05-29T03:36:49+00:00

I need some assistance to approach this. I have created a UITabBarController where I

  • 0

I need some assistance to approach this. I have created a UITabBarController where I have two tabs. And in one of them I made it to pop with UIPopoverController where I use a UITableView inside the UIPopoverController. I load the tableView with two objects using table view datasource and I can see them when the UIPopoverController appears.

You can check the screen shot here:

Screenshot

Now what I want to achieve is that, when I click on feedback then I need to be directed/taken to feedbackViewController and the same with the other object Download, it should take me to the downloadViewController.

I know that I need to use table view method:

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

But I am not having an idea of how I can do this. So any general information of how I can approach this problem would be appreciated.

  • 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-29T03:36:50+00:00Added an answer on May 29, 2026 at 3:36 am

    It sounds quite simple. All you need to do is identify which button was pressed, in this case 0 for Feedback and 1 for Download. Then depending on that present the appropriate view controller.
    You will probably need to have a link to a parent, which will ultimately present the new view. Otherwise you will be presenting the view inside the popover controller.

    Somewhere when creating/displaying your UIPopoverController create a reference to the parent

    UIViewController *mainparent = _mainparent; //where _mainparent is the reference passed through.
    

    Then in your -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath; include the following.

    if (indexPath.row == 0)
        [mainparent presentModalViewController:feedbackViewController animated:YES];
    else
        [mainparent presentModalViewController:downloadViewController animated:YES];
    

    That will modally present the required view controllers.

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

Sidebar

Related Questions

Need some help, please. I have a line of horizontal thumbnails loaded as ONE
Need some help to solve this. I have a gridview and inside the gridview
Need some help from javascript gurus. I have one page where http://www.google.com/finance/converter is embedded
I need some assistance with some javascript/jquery I have put in place. The function
I have looked all over the net and need some assistance. Is there a
I am working on a lab and need some assistance if possible. I have
Greetings. Need some assistance with creating a computed column on this table: USE [ScienceWorksSummary]
I need some assistance and I'm beating my head against the wall. I have
i need some assistance with a SQL query: the data looks like this: ID
I'm in need of some assistance regarding permutations. My problem is this: In our

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.