Search code examples
ios3dtouch

How to enable 3D Touch peek & pop but prevent navigation in iOS 9?


I want to enable peek preview en my table View, but i don't want the user to actually navigate to the destination VC. I just want to let him peek, but not navigate into it.


Solution

  • I found a solution to this question.

    The VC needs to implement the UIViewControllerPreviewingDelegate protocol which handles the peek and pop behaviours.