AsyncDisplayKit icon indicating copy to clipboard operation
AsyncDisplayKit copied to clipboard

pop-up uiviewcontroller in click ASTableNode needs twice touches

Open winterlow opened this issue 7 years ago • 1 comments

UITabBarController -UINavigationController1 --UIViewController1 ---ASTableNode1 -UINavigationController2 -UINavigationController3 -UINavigationController4

This is part of structure of my app, I clicked a row in the tableNode in order to pop-up a UIViewController,but actually the first click just excute the code in the delegate method tableNode: didSelectRowAtIndexPath: and the UIViewController could't pop-up,it needs another click anywhere int the window to pop it up.
If I use UITableView replace the ASTableNode, when I  delete this code:cell.selectionStyle = UITableViewCellSelectionStyleNone, it became avalible; but if I add this code:cell.selectionStyle = UITableViewCellSelectionStyleNone, the result is the same as use ASTableNode.
How to solve it? Help

winterlow avatar Feb 07 '18 08:02 winterlow

solved it by using deselectRowAtIndexPath:animated:, but why it happed?

winterlow avatar Feb 08 '18 00:02 winterlow