-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
AspectRatio #131
Comments
@p709723778 Haven't tried this but possibly you could include a multiplier constraint
|
In storyboard, Aspect Ratio is achieved by simply setting the multiplier of width constraint to height constraint (or verse vice). Therefore you can do it with masonry like: make.width.equalTo( view.mas_height ).multipliedBy( 200.0 / 320.0 ); |
The |
AspectRatio
How to code geometric Enlarge?
The text was updated successfully, but these errors were encountered: