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

Is it possible to pull the PulleyDrawerViewController down to open, when placed at the top of the window? #34

Closed
ojacevedo opened this issue Feb 12, 2017 · 2 comments

Comments

@ojacevedo
Copy link

This would be the same as maps on iPad. Could not tell from the documentation and source if it is possible.

Other than this it is a great PulleyViewController API.

Thanks,

Orlando

@amyleecodes
Copy link
Contributor

It's not a built in feature, but you could accomplish this using CALayer transforms to invert the view. Then use an inverse transform on your drawer VC so it still looks upright to the user.

Pulley VC is meant to be full screen, so it won't provide the "side" view that you get on iPad without some custom containers or alteration.

@amyleecodes
Copy link
Contributor

@ojacevedo The master branch now includes support for this, in the form of mimicking the iPad Maps layout, if you're still interested. It's not identical to Maps, but it's fairly close and tweaking the options can probably get you the rest of the way there.

Right now it's more of a 'test' version, as it required a lot of changes. It should work, but I'm not confident enough to push it out to everyone yet. If you feel like giving it a try, I'm looking for feedback / bug-testing before pushing it out to CocoaPods.

Looking forward to any feedback you may have. 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

2 participants