ZCycleView icon indicating copy to clipboard operation
ZCycleView copied to clipboard

getCurrentIndex 方法 在阿语环境下就 无法实现了

Open blockshark opened this issue 3 years ago • 0 comments

正确的写法应该是这样 private func getCurrentIndex() -> Int { let point = self.convert(collectionView.center, to: self.collectionView) let indexPath = self.collectionView.indexPathForItem(at: point) return indexPath?.item ?? 0 }

blockshark avatar Aug 13 '21 08:08 blockshark