ios - 如何在 uicollectionview header 中添加 uicollectionview

标签 ios iphone swift uicollectionview

我需要知道如何在collectionview“父亲”的标题中添加collectionview,我已经尝试了多种方法,但它对我不起作用。

类似于下图:

this

最佳答案

您可以使用一个单独的 zip 文件来实现此目的,该文件将代表您的 header ,而不是在其中添加新的 collectionView

关于ios - 如何在 uicollectionview header 中添加 uicollectionview,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50123731/

相关文章:

objective-c - 没有 CATiledLayer 的 iOS 应用程序中的巨大图像?

iphone - NSTimeInterval 到 HH :mm:ss?

iphone - 崩溃日志 : What is "ARM Thread State"

ios - CALayers : A) Can I draw directly on them and B) How to make a width adjustment on a superlayer affect a sublayer

ios - 为什么 swift uiview 无法连接到 View Controller ?

swift 2 : How to parse a time signature from MIDIMetaEvent?

iOS:如何在按下按钮时以编程方式在导航栏上添加搜索栏?

ios - 以编程方式在 appdelegate 中创建 tabBarController

ios - 搜索处于事件状态时导航栏问题并推送到下一个 View Controller

iPhone 应用程序中来自 SpeakHere 的 C++