-
Notifications
You must be signed in to change notification settings - Fork 270
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
topHalf Behavior but with Dynamic Height #154
Comments
Hi @cliftonlabrum ! Right now I don't think this is possible. You could calculate the height before hand using the system provided method, and then tell Presentr that height, for now... But yeah, right now dynamic auto layout is a PresentationType that applies sizing to both width and height, and it just gives you the choice of supplying it's center position. BUT All of these are actually highly requested features, I'm working on them right now, and they will be out in a week or two in version In version So you can easily say: give this view full screen width, make the height dynamic, and make it stick to the top. That will be out soon and I'll let you know when it's ready to test out and on the master branch, so you can start using it, and will be released soon thereafter. Thanks for using Presentr! :) |
Sounds great. I'm looking forward to it. :) |
Waiting for updates. :) |
Still waiting for updates :( |
I think the developer has moved on to other things. You might consider SwiftMessages. I recently implemented it in a project and it works quite well: https://github.com/SwiftKickMobile/SwiftMessages |
First of all, this framework is super cool and has saved me tons of hassle. I don't use much third-party code, but this is fantastic. :)
I'm trying to create alerts that slide down from the top of the screen just like the
topHalf
kind (like this), but I want them to have their height driven dynamically by the auto layout constraints in the presented view.I'm a bit confused on how to get that behavior because it seems the
dynamic
PresentationType
only centers the view.How can I have the popup slide down from the top (and ideally slide back up when dismissed) and have a dynamic height?
The text was updated successfully, but these errors were encountered: