Collection View Cells not appearing

前端 未结 14 1028
迷失自我
迷失自我 2021-02-07 08:40

I want to display as many collectionViewCells with buttons as there are strings in my array. but when I start the simulator there is just the backgroun

14条回答
  •  春和景丽
    2021-02-07 09:31

    Did you set the CollectionViewController to the storyboard identity inspector? :)

    And I would try to call the reloadData() after you change the data in the viewDidLoad method.

    Hope that helps

提交回复
热议问题