[英]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.