![](/img/trans.png)
[英]Two TableViews that have same prototype cell, constraints behave differently
[英]Constraints in prototype cell
imageView的約束
領先,尾隨,頂部到superView,高度(例如200)
標題限制
開頭,結尾和底部到superView,頂部到imageView
您可以將圖像和標簽垂直堆疊
並在屬性檢查器上給它們留間距。
我希望它能對您有所幫助。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.