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

  • Home
  • SEARCH
  • 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 7993949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:00:21+00:00 2026-06-04T14:00:21+00:00

I am trying to show a custom tableview inside a popover view in my

  • 0

I am trying to show a custom tableview inside a popover view in my iPad App. This is working fine. I wanted to add buttons on toolbar (at the bottom of tableview). Toolbar is shown empty. Any suggestion?

Note that following code is triggered when user touches the button in main view controller.

UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:self.customTableViewController];
UIBarButtonItem *item1 = [[UIBarButtonItem alloc] initWithTitle:@"item 1" style:UIBarButtonItemStylePlain target:nil action:nil];
UIBarButtonItem *item2 = [[UIBarButtonItem alloc] initWithTitle:@"item 2" style:UIBarButtonItemStylePlain target:nil action:nil];

[navigationController setToolbarHidden:NO];
navigationController.navigationBar.topItem.title = @"Some Title";

NSArray *array = [[NSArray alloc] initWithObjects:item1, item2, nil];
[navigationController setToolbarItems:array];

UIPopoverController *popover = [[UIPopoverController alloc] initWithContentViewController:navigationController];
self.popoverController = popover;
popoverController.delegate = self;

[popoverController presentPopoverFromRect:[sender bounds] inView:sender permittedArrowDirections:UIPopoverArrowDirectionAny 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-04T14:00:23+00:00Added an answer on June 4, 2026 at 2:00 pm

    I’m hitting a similar issue, the tableview shows fine in the popover, but the buttons below are not visible. I’ll let you know if I figure something out.

    EDIT: My issue was that I was re-sizing the popover, and the buttons were being pushed out of the view. I fixed this by changing the autosizing to lock the position relative to the bottom of the frame. To do this, look at your xib in interface builder, go to the Ruler tab on the upper right and use the Autosizing GUI. For mine this meant that only the bottom anchor was selected on the GUI.

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

Sidebar

Related Questions

I'm trying to make a custom dialog to show a view in this dialog.
Am trying to show a popup dialog or custom view on clicking of the
I'm trying to show a custom contextmenustrip on my datagridview and it works fine
I am trying to show my colleagues in my custom webpart. So I adding
I'm trying to use pyqt to show a custom QDialog window when a button
Im trying to get a custom menu to show when the menu button is
I'm trying to show custom UILabel in UITableViewCell, but something wrong. My code: -
I'm building my custom cell for a table view. I'm trying to load an
I am trying to use an custom font for my iPad site, and it
I am trying to get my custom markers to show up on my map

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.