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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:19:40+00:00 2026-06-17T17:19:40+00:00

I open a PopOverview which contains a table View. It works fine But my

  • 0

I open a PopOverview which contains a table View. It works fine But my cell also contain the detail Text which is not seen in table view cell when i open table view in popOver.

My code is as follow:

-(IBAction)btnTableMenu_TouchUpInside:(id)sender{

   ListView *popUp=[[ListView alloc] initWithNibName:@"ListView" bundle:nil];



popoverController = [[UIPopoverController alloc]initWithContentViewController:popUp];
popoverController.delegate =self;

[popoverController setPopoverContentSize:CGSizeMake(300, 700)];
[popoverController presentPopoverFromRect:CGRectMake(150,25,20,50) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];


} 

How can i solve This??

  • 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-17T17:19:41+00:00Added an answer on June 17, 2026 at 5:19 pm

    see user167.. you just need to create new UITableViewcontroller for example DropDwnLevel1TableViewController.h, DropDwnLevel1TableViewController.m and xib right.

    Now in DropDwnLevel1TableViewController Create IBOutlate of UITableVIew set one UITableView in to nib connect IBOUTLATE and set Delegate and dataSource

    Now you can set created TableViewController add in to your UIPopoverViewcontroller like below method:-

    -(IBAction)btnTableMenu_TouchUpInside:(id)sender{
    
      DropDwnLevel1TableViewController *firstViewCtrl = [[DropDwnLevel1TableViewController alloc] init];
            firstViewCtrl.title=@"My tableView";
    
            UINavigationController *navbar = [[UINavigationController alloc] initWithRootViewController:firstViewCtrl];
    
            [firstViewCtrl contentSizeForViewInPopover];
    
            myPopOVer = [[UIPopoverController alloc] initWithContentViewController:navbar];
            [navbar release];
    
            myPopOVer.delegate = self;
            myPopOVer.popoverContentSize =CGSizeMake(250,200);
    
            [myPopOVer presentPopoverFromRect:sender.frame inView:sender.superview permittedArrowDirections:UIPopoverArrowDirectionRight animated:YES];
    
    
    }
    

    FOR dismiss popOVer

    In you class which declare popOverViewcontroller .m file ViewDidLoad method

    - (void)viewDidLoad
    {
         // Hear creating NSNotificationCenter for dismiss popover
    
        [[NSNotificationCenter defaultCenter] addObserver:self
                                                 selector:@selector(DismissPopOver:)
                                                     name:@"Dismiss"
                                                   object:nil];
    
      [super viewDidLoad];
    
    }
    
    -(void)DismissPopOver:(NSNotification *)notification {
    
        [yourPopOVer dismissPopoverAnimated:YES];
    
    }
    

    Now in DropDwnLevel1TableViewController.m didSelectRowAtIndexPath

    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    {
              // hear call NSNotificationCenter who creating in main class
             [[NSNotificationCenter defaultCenter] postNotificationName:@"Dismiss" object:self];
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I open my sq3d fine, but when I try to do a SELECT on
I open a connection to my schema and I want to view a table.
i open up .fla file, but when i click window->action, there is not actionscript
open() fails with ENOENT (no such file or directory) on first attempt but works
I open a server socket at localhost's port e.g 11111, and I also include
I open several files in Vim by, for example, running vim a/*.php which opens
Open a file in the Visual Studio binary editor that contains a null byte
I've got a view Controller which manages my TV Playout (HDMI Apple AV Adapter).
Open Source projects that ship with unit tests based on NUnit also usually ship
Always open in my editor is a tab with a text version of MySQL's

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.