[英]Three Uiview next to each other ,equal width, use full screen-width and after remove one the other two gets full screen-width?
您可以将这三个视图嵌入到StackView中。 并设置UIStackView
轴到水平
对齐以填充
和分配到FillEqually 。
要删除您的视图,只需隐藏该视图,其他视图将获得全屏宽度。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.