如何使用 swift 制作具有多列的 UiTableView 3

How to make UiTableView with multiple columns using swift 3

我想制作一个与Apple Music 应用程序具有相同效果的UiTableView,我认为它是用UiTableView 完成的,当它上面有多个列时。 这是我 iPhone 的一些截图(注意 Explorar 下的新专辑,下一栏是特色播放列表:

不是多列。它的 UIScrollViewUITableViewCell 中使用 isPagingEnabled 功能。

您也可以在 UITableViewCell.

中使用 UICollectionView

我鼓励您查看 Putting a UICollectionView in a UITableViewCell in Swift 教程,其中对此进行了解释。我相信您可以在单元格中使用此 UIScrollView 实现相同的效果。

希望对您有所帮助。