UICollectionView SupplementaryView将UIButton添加到页脚

时间:2015-12-05 05:22:06

标签: ios swift uicollectionview footer supplementary

是否有人知道如何将按钮添加到viewForSupplementaryElementOfKind内的additionalView页脚?我尝试编码一个,但我一直收到错误,我目前在library(lazyeval) na.rm = function(FUN_string) lazy(FUN(., na.rm = TRUE)) %>% interp(FUN = FUN_string %>% as.name) na.rm.apply = function(FUN_strings) FUN_strings %>% lapply(na.rm) %>% setNames(FUN_strings) mtcars %>% select(mpg) %>% summarize_each( c("min","max","mean","sum","sd","median","IQR") %>% na.rm.apply) 函数中有这个错误;错误:

  

无效重新声明   '的CollectionView(_:viewForSupplementaryElementOfKind:atIndexPath:)'

谢谢! :)

1 个答案:

答案 0 :(得分:0)

在appcoda上有关于收藏视图中补充视图的Nice Tutorail。

Click Here