我需要在屏幕下方进行设计。
我已经采取了动态桌面 View 。在表格 View 中我采取了两个 View
---> one view contains a label - used to display month name
---> second View contains two labels which is in the above screen
i got problem with the second view. i have taken two labels in second view
second View-->
--> belowLabel: displaying the date of the Jan (ex: 5 )
--> aboveLabel: the no of visits on 5th jan
if January contains 6 days visits, then i need to display that no of secondviews(dynamically)
我按照月份显示行数。但如何在 TableView 行内动态显示 View ?
最佳答案
您可以使用 UICollection View 来通过个性化的 uicollectionViewCell 来实现此目的
关于ios - 计算 View 数量并将其动态添加到 tableView 行 swift 3?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45014253/