Reputation: 4929
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
Upvotes: 0
Views: 1128
Reputation: 1484
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.
Upvotes: 1