Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

pop-up uiviewcontroller in click ASTableNode needs twice touches #3300

Open
winterlow opened this issue Feb 7, 2018 · 1 comment
Open

pop-up uiviewcontroller in click ASTableNode needs twice touches #3300

winterlow opened this issue Feb 7, 2018 · 1 comment

Comments

@winterlow
Copy link

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
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant