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

Fixing issue with UIPageViewController outermost parent. #49

Closed
wants to merge 1 commit into from
Closed

Fixing issue with UIPageViewController outermost parent. #49

wants to merge 1 commit into from

Conversation

benguild
Copy link

@benguild benguild commented May 7, 2018

I noticed that this works well with UIPageViewController (embedded within an additional parent, for example) only if resolving the topmost parent UIViewController. I'm assuming that this is probably most ideal in all situations, but that the previous convenience of calling "dismiss" on the closest UIViewController also worked in most instances.

This fixes the issue that I ran into. — An alternative would be to have a weak property that can be overridden to track which UIViewController to actually dismiss in case it's a less typical choice, but I'm guessing that's unnecessary.

@benguild
Copy link
Author

benguild commented Jun 1, 2018

Closed, RE: #52

@benguild benguild closed this Jun 1, 2018
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

Successfully merging this pull request may close these issues.

1 participant