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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:47:36+00:00 2026-06-02T01:47:36+00:00

I have a function I’d previously written to present a popover from a bar

  • 0

I have a function I’d previously written to present a popover from a bar button item, now I’m trying to reuse it to show the popover from a cell accessory when the table is in edit mode.

I’ve tried

[self showPopover:[[theTableView cellForRowAtIndexPath:indexPath] editingAccessoryView]]

but this is NULL.

Originally it’s set with [cell setEditingAccessoryType: UITableViewCellAccessoryDetailDisclosureButton]; if that makes any difference.

And the popover function is

-(void) showPopover:(id)sender {
    ...
     [self.popOver presentPopoverFromBarButtonItem:sender 
                             permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
}

Any ideas please.

  • 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-02T01:47:37+00:00Added an answer on June 2, 2026 at 1:47 am

    How about trying to display with:

    - (void)presentPopoverFromRect:(CGRect)rect inView:(UIView *)view permittedArrowDirections:(UIPopoverArrowDirection)arrowDirections animated:(BOOL)animated
    

    Just pass it your cell.accessoryView.frame as the “rect” argument.

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

Sidebar

Related Questions

I have function that return list of strings from database. I want to show
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have function below to check if specific item is directory or file: private
I have function onClickButton where i do (pseudocode): show activityIndicatorView (or ProgressBar or change
I have function that returns the index of a character GetCharFromPos(Pt: TPoint): Integer; now
i have function named comments with attributes [Authorize(Roles=Admin,Users)]. I have edit button for comments.
I have function named: - (void) AddSortedCustomFeed :(NSMutableArray*) rssList; this function adds items(Articles) from
I have function that opens up a window, and the values from the newly
I have function along these lines: public void view(string msg) { messagebox.show(msg); } .
I have function in C that reads byte by byte from a given buffer

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.