-
Notifications
You must be signed in to change notification settings - Fork 131
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
ReloadData calls viewControllerForPageAt twice #79
Comments
Same Issue |
same issue. |
I had same issue, and could fix it. In my case, I was using SwipeMenuViewOptions. I init SwipeMenuView without options, create options, and did self.swipeMenuView.reloadData(options: options), so everything was called twice. I init SwipeMenuView with options at the first time, then all problem was solved. hope it would help. |
Same issue guys, @hiromiick I tried to resolve with what you suggested but still getting 2 calls |
Same issue for me, any solution please ? |
Its always better to paste the code |
The problem is not with the options, it is related to reload() method. |
Describe the bug
If a SwipeMenuView is added to a ViewController (following a reloadData), or reloadData is called on the Demo project (using SwipeMenuViewController) the viewControllerForPageAt is called twice.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
iPhone (please complete the following information):
The text was updated successfully, but these errors were encountered: