I have created a .xib file for TableView cell, and I want to add a collection view into that cell. picture The gray rectangle shown in the picture is a collection view, my question is why the collection view doesn't show a prototype cell. What did I do wrong? Or this is what it should be, then how can I add a prototype cell? By making another .xib file for the UICollectionVew Cell?
my question is why the collection view doesn't show a prototype cell
Because it's a .xib . Prototype cells are a storyboard feature.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.