Swinflate
Swinflate copied to clipboard
iOS 13 IndexPath
Looks like on iOS 13 if you're using indexPathForItem(at: point)
the layout can't find the proper indexPath.
let midX:CGFloat = strongSelf.organizationCollectionView.bounds.midX
let midY:CGFloat = strongSelf.organizationCollectionView.bounds.midY
let point:CGPoint = CGPoint(x:midX, y:midY)
guard let indexPath: IndexPath = strongSelf.organizationCollectionView.indexPathForItem(at:point) else { return }
This returns fine on iOS 12, but got broken on 13