是否有人知道如何将按钮添加到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:)'
谢谢! :)