Skip to content

Made adjustingContentOffset public to prevent issues on orientation changing, and updated example#17

Open
Nenado wants to merge 1 commit intoemalyak:masterfrom
Nenado:orientationHandling
Open

Made adjustingContentOffset public to prevent issues on orientation changing, and updated example#17
Nenado wants to merge 1 commit intoemalyak:masterfrom
Nenado:orientationHandling

Conversation

@Nenado
Copy link
Copy Markdown

@Nenado Nenado commented May 2, 2018

If I have multiple pages loaded and I rotate device, EMPageViewControllerDelegate willStartScrollingFrom delegates get called for not visible pages and messes up the UI.

  • Made adjustingContentOffset public
  • Disabled scrollview scrolling and adjustingContentOffset set to false from rootViewController while orientation happens prevents issues

…ing, otherwise UI gets messed up and scrolling delegates get called
@Nenado
Copy link
Copy Markdown
Author

Nenado commented May 2, 2018

NOTE:

EMPageViewController-Swift.h Header needs to be updated to include property adjustingContentOffset

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