pop-up uiviewcontroller in click ASTableNode needs twice touches
winterlow opened this issue · 1 comments
winterlow commented
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 commented
solved it by using deselectRowAtIndexPath:animated:, but why it happed?