Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maintain state on navigation pop #92

Open
musashiM82 opened this issue Sep 18, 2019 · 0 comments
Open

maintain state on navigation pop #92

musashiM82 opened this issue Sep 18, 2019 · 0 comments

Comments

@musashiM82
Copy link

Describe the bug
Hi,
I'm using this module as SwipeMenuView, because my controller already extends a my base controller.
For each tab I'm using another my controller that extends UITableViewController; each cells of these tables push to another controller programmatically.

I noticed this issue:

  1. Go to controller with SwipeMenuView
  2. Swipe to third tab
  3. Click on a 30th cell and go to another controller
  4. Click on back button in navigation bar
  5. I return in controller with SwipeMenuView with first tab selected [BUG]

Expected result: return in controller with SwipeMenuView with third tab selected and table view scrolled to previous position

consider that:

  1. swipeMenuView.reloadData is not called on pop because I implemented a mecanism for avoid some action on back
  2. I noticed that when I left (on push) my swipe menu controller SwipeMenuView willsetup and SwipeMenuView didsetup are called. When I return (on pop) in my swipe menu controller SwipeMenuView willsetup and SwipeMenuView didsetup are called two time for each. Why?

thanks

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

No branches or pull requests

1 participant