我写了这段代码:
java.lang.IllegalStateException: The driver executable does not exist
对于我的流布局,以及:
layout.sectionHeadersPinToVisibleBounds = true
在func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForHeaderInSection section: Int) -> CGSize {
return CGSize(width: collectionView.bounds.width, height: 80.0)
}
代表中。
当我同时实现这两件事时,我的UICollection视图开始闪烁,布局崩溃并滚动失败而没有反弹。
请帮我解决问题。