Ios DZNEmptyDataSet不适用于集合视图?
正如标题中所说,我正在使用带有UICollection视图的DZNEmptyDataSet库。 对于tableview控制器,我们在Ios DZNEmptyDataSet不适用于集合视图?,ios,swift,uicollectionview,Ios,Swift,Uicollectionview,正如标题中所说,我正在使用带有UICollection视图的DZNEmptyDataSet库。 对于tableview控制器,我们在viewDidLoad中有以下内容: self.tableView.emptyDataSetSource = self tableView.emptyDataSetDelegate = self tableView.tableFooterView = UIView() 但是集合视图呢? 似乎没有类似于tableFooterView的内容 这样做的
viewDidLoad
中有以下内容:
self.tableView.emptyDataSetSource = self
tableView.emptyDataSetDelegate = self
tableView.tableFooterView = UIView()
但是集合视图呢?
似乎没有类似于tableFooterView
的内容
这样做的正确方法是什么?UICollectionView不使用专用的页脚,而是使用“补充视图”。