ios - Autolayout UIView Proportional height with Minimum height requirement -


i've created 1 tab bar bottom view proportional height related main superview.
enter image description here

enter image description here

whereas, tab bar bottom view height in 6+ -> 59, in 6 -> 53, in 5 -> 45 & in 4s -> 38. it's working proportionally fine. if want tab bar view's height should minimum 46, @ maximum should work proportionally.

so based on above heights on different devices, want achieve 6+ -> 59, 6 -> 53, 5 -> 46 & in 4s -> 46.

so possible solution in auto layout achieve this.
in advance.

you should add height constraint more 46 , priority 1000.and set priority of top space constraint 750.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -