Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

UIPageViewController support, scaling & new delegate methods#166

Open
Coledunsby wants to merge 26 commits intotelly:masterfrom
Coledunsby:master
Open

UIPageViewController support, scaling & new delegate methods#166
Coledunsby wants to merge 26 commits intotelly:masterfrom
Coledunsby:master

Conversation

@Coledunsby
Copy link

  • Added support for use in UIPageViewController
  • Added scale property to scale UINavigationBar titleView on contract/expand similar to Instagram
  • Added delegate methods


// Modal views do not overlap the status bar, so no allowance need be made for it
if (viewController.presentingViewController != nil)
if (viewController.presentingViewController.presentedViewController == viewController)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This a better way to check if it's a modal. The current implementation fails in some cases (e.g. if a UITabBarController is pushed onto a UIViewController).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Coledunsby @telly Should be fixed in main repo! Thanks for your PR.

@Mazyod
Copy link
Contributor

Mazyod commented Feb 10, 2017

I'm trying to get back working on this, and after properly implementing better test cases, this is my top priority.

@aarifsumra
Copy link

This PR was very useful to me thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants