didSelectRowAtIndexPath TableView Popover Issue
- by Jack Cody
I've tried a lot of different code examples including just brute force try this try that but, stumped.
The popover left arrow seems to display just fine if the first row is displayed at the very top of the table view but, when the table scrolls down the popover left arrow doesn't align correctly with the table row selected. Solutions or suggestions would be most appreciated.
CGRect myFrame = [tableView rectForRowAtIndexPath:indexPath];
[self.editViewPopoverController setPopoverContentSize:CGSizeMake(320, 400)];
[self.editViewPopoverController presentPopoverFromRect:CGRectMake(myFrame.origin.x, myFrame.origin.y + offset, 400, 0) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionLeft animated:YES];
Thanks.