ios - Bottom space constraint proportional to height of view -
i have view @ bottom of view controller has following constraints:
- align centre horizontally
- fixed aspect ratio (1:1)
- proportional width width of view controller
- bottom space of -50
how make bottom space constraint proportional height of view using auto layout? meaning if height of view 250, bottom space -50, if height 300, bottom space -60, , on (the proportion fixed @ 0.2)?
use multiplier value. want bottom of view 0.8 times bottom of superview.

Comments
Post a Comment