![](/img/trans.png)
[英]How to add multiple images to to custom table view cell in swift ios?
[英]How to add multiple divider view in a custom cell in UITableView IOS?
1)將6個UIView's
內部單元格放入。 根據圖像,其中4個具有equal width constraint
而2個具有equal width constraint
。
2)進行5分頻器視圖。 它還具有相等的寬度約束。
3)同樣設置剩余約束,例如選擇4個視圖,它們的寬度相等,並設置top,left,right
和bottom
約束。 與寬度相等的其他2個視圖相同。 分隔視圖也一樣。
嘗試使用UICollection View ...這將完美解決您的問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.