This is how I have set subview height in regards to superview.I have set constraints for compact width
and regular height
class as View.height = 0.5xheight
. I want to set View.height = 0.25xheight
for regular width
and regular height
class.
So basically I want to change multiplier to 0.25 for regular width
and regular height
class. But I did not find any option to do that. So how can I do this.
只需转到Main.Storyboard
并选择尺寸类别,即可在此处View as: iPad Pro (wR hR)
并调整子视图的尺寸并更新约束。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.