0

Is it possible to call UIPopoverController from parentViewController's tableView? For example I've selected UITableViewCell:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 
{
     //Call UIPopoverController here
}

If yes, please give short example code

Timur Mustafaev
  • 4,869
  • 9
  • 63
  • 109

1 Answers1

1

What you wanna do is use a custom table view cell, and inside your cell, create a button. For the button, and define your popover from the button touch up inside event function. This method works and I use it in my current project.

If you need, I can provide more details as it is not easy to describe the entire process in a few words.

However, you might wanna check this out and see whether their solutions would help you.

Community
  • 1
  • 1
Raymond Wang
  • 1,484
  • 2
  • 18
  • 33