有谁知道如何向 UICollectionView
内的 SupplementaryView 页脚添加按钮?我尝试编写一个代码,但不断收到错误,并且当前在 viewForSupplementaryElementOfKind
函数中遇到此错误;错误:
invalid redeclaration of 'collectionView(_:viewForSupplementaryElementOfKind:atIndexPath:)'
谢谢!! :)
最佳答案
appcoda 上有一个关于 Collection View 中的 Supplementary View 的 Nice Tutorail。
关于ios - UICollectionView SupplementaryView 将 UIButton 添加到页脚,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34101594/