You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tapping the Move and Delete buttons in my table view cell didn't trigger any actions. I was able to trace it down to incorrect conversion of the cell's rect in the -overlayView:didHitTest:withEvent: delegate method. So I changed this:
CGRect rect = [self.view convertRect:self.cellDisplayingMenuOptions.frame toView:self.view];
To this:
CGRect rect = [self.cellDisplayingMenuOptions.superview convertRect:self.cellDisplayingMenuOptions.frame toView:self.view];
I realize it's just a delegate method and it may need to be different for each app, but this might be a more likely-to-work solution than assuming the cell's superview shares the same frame as the view controller's view.
The text was updated successfully, but these errors were encountered:
Tapping the Move and Delete buttons in my table view cell didn't trigger any actions. I was able to trace it down to incorrect conversion of the cell's rect in the -overlayView:didHitTest:withEvent: delegate method. So I changed this:
To this:
I realize it's just a delegate method and it may need to be different for each app, but this might be a more likely-to-work solution than assuming the cell's superview shares the same frame as the view controller's view.
The text was updated successfully, but these errors were encountered: