Xiaoye220 / EmptyDataSet-Swift

🎄 DZNEmptyDataSet implement with Swift.A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view has no content to display. DZNEmptyDataSet with Swift.
MIT License
692 stars 99 forks source link

外部关闭scrollEnabled后无效 #56

Open zakicheung opened 1 month ago

zakicheung commented 1 month ago

代码步骤:

  1. 控件设置emptyDataSetSource & emptyDataSetDelegate,触发内部dzn_invalidate,内部开启了self.scrollEnabled = YES;
  2. 控件手动设置isScrollEnabled = false
  3. 使用过程中,触发了dzn_reloadEmptyDataSet->isEmptyDataSetVisible->dzn_invalidate, 滚动又被开启

期望结果: 内部不要强制去控制isScrollEnabled