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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:21:21+00:00 2026-05-19T02:21:21+00:00

I have several uiPopoverControllers in my universal iPad app. I now have a requirement

  • 0

I have several uiPopoverControllers in my universal iPad app. I now have a requirement to trigger a function once a certain popover has been dismissed. I can do this easily if the user clicks “close” inside the popover, but if they touch the screen to hide the popover, I cannot trigger my function.

I’ve been googling for some time and cannot seem to find any delegate methods which I might be able to use in my main view controller to capture them. I would love something like didDismissPopoverController – but my guess is it’s not available.

IF not, I guess the only thing to do would be to detect the touches and trigger then? Basically I am highlighting a UITableView row and loading the popover. I need to deselect the row – so want to simply call [table reloaddata].

Thanks for any help on this one!

  • 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-19T02:21:22+00:00Added an answer on May 19, 2026 at 2:21 am

    You need to assign a delegate to the UIPopoverController and then implement the - (void)popoverControllerDidDismissPopover:(UIPopoverController *)popoverController method. For example:

    @interface FooController : UIViewController <UIPopoverControllerDelegate> {
        // ...
    }
    // ...
    @end
    

    When you instantiate the UIPopoverController (say, for this example, in FooController)…

    UIPopoverController *popover = // ...
    popover.delegate = self;
    

    Then, you would implement the method:

    - (void)popoverControllerDidDismissPopover:(UIPopoverController *)popoverController {
        // do something now that it's been dismissed
    }
    

    Granted, I haven’t tested this but it seems like it should work…

    Hope this helps!

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

Sidebar

Related Questions

I have several cases where my string in strings.xml is quite long and has
I have several classes, e.g. Band , Album , Song . Each has the
ok, I know that this topic has been addressed several times on here, but
I have several C files. and I created a function which is named X_STRING(arg1,arg2,arg3,arg4);
I have several questions about the Android in-app billing, as I cannot find what
I have several Models: Workspace User Asset WorkspaceUser WorkspaceAsset Workspace has many users and
I have several objects in our framework, that by the requirement need to provide
I have several thousand log files with date-time stamps in them that mark certain
I have created an UIView which has several controllers , is there any possible
I have looked at several options like: * http://blog.waynehartman.com/archive/2012/01/07/uistoryboard-on-ios-5-the-good-the-bad-and-the.aspx * UIPopoverController Anchor Position *

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.