【发布时间】:2023-03-21 08:21:01
【问题描述】:
我无法决定谁应该是 UICollectionView 的代表,它是 UITableViewCell 的子视图。 UITableView 将其控制器作为故事板中的委托。 UITableViewCell(带有 UICollectionView)有自己的 xib。 但是谁应该是他的 UITableViewCell 中的 UICollectionView 的代表呢?
我尝试在 UITableViewCell 上链接 UICollectionView 的委托,但没有成功。
【问题讨论】:
-
你的意思是“我试过 UITableViewCell,但没用。”。用您迄今为止尝试过的内容编辑您的问题?如果有帮助,请也检查此链接:ashfurrow.com/blog/…
标签: ios uitableview uicollectionview uikit