kevin-lyn/STPopupPreview

Expose long press gesture location

Opened this issue · 0 comments

I've implemented 3d touch with a helper that receives the UICollectionView. From there I retrieve the pressed cell with the location from previewingContext:viewControllerForLocation:.

I'd like to add this popupPreviewRecognizer to the UICollectionView as well, but I need the gesture location for determining which cell was pressed.