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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:25:28+00:00 2026-06-01T20:25:28+00:00

I have a UIPopoverController which I’m trying to show from a UIBarButtonItem in a

  • 0

I have a UIPopoverController which I’m trying to show from a UIBarButtonItem in a navigation bar. Despite setting the resizing mask for the tableview inside the popover’s content viewController, it takes up the whole height of the screen. The only thing which has any effect on the content size is menuPopover.contentViewController.view setFrame:CGRect. I’m using the code below to show the popover inside the left hand side of a UISplitViewController

    // menuPopover and editVc are properties on the parent viewController
    menuPopover = [[UIPopoverController alloc] initWithContentViewController:editVc];
    [menuPopover presentPopoverFromBarButtonItem:btnMenu permittedArrowDirections:UIPopoverArrowDirectionAny animated:true];
    [menuPopover setPopoverContentSize:CGSizeMake(400, 500) animated:true];
    [menuPopover.contentViewController.view setFrame:CGRectMake(0,0,400, 500)];

Yet this is what I’m seeing. The arrow shows where the menu button was which showed the popover:

http://imageshack.us/photo/my-images/545/screenshot20120312at191.png/

It’s as though the content view is just expanding vertically.

  • 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-01T20:25:29+00:00Added an answer on June 1, 2026 at 8:25 pm

    The solution was to set the transition to Popover in IB, the set the size of the view within the storyboard. Use explicit size should be unchecked for the popover ViewController.

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

Sidebar

Related Questions

I have a UIPopoverController presented from a UIBarButtonItem. I have another UIBarButtonItem that is
I have a UITabBarController inside a UIPopoverController, which I am displaying solely from one
As title said, I want to show another UIViewController from an existing UIViewController which
I have a UITableView which I present in a UIPopoverController . The table view
I have a UIPopoverController which loads with a custom controller which is a subclass
I have a UIPopoverController which displays a UItableview. I use the PresentFromBarButtonItem method. How
A very peculiar bug: I have BarButtonItem which pops out a UIPopoverController like that:
I have a popover that gets loaded with a navigation controller, which displays the
I have added a few buttons to the right side of the navigation bar
I have a navigation bar in my app. I have to have 2 UIBarButtonItems

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.