How to implement 3d touch peek without pop?

Getting Started with 3D Touch | Peek and Pop describes "peek" preview and "optional navigation" (pop.) But I can't find any way to implement peek -- by implementing:

- (UIViewController*)previewingContext:(id<UIViewControllerPreviewing>)previewingContext viewControllerForLocation:(CGPoint)location


without the pop gesture also being implemented. If I fail to implement the commit callback:

- (void) previewingContext:(id<UIViewControllerPreviewing>)previewingContext commitViewController:(UIViewController *)viewControllerToCommit


it still dismisses my peek/preview view controller after providing a second haptic feedback vibration.


Since Apple describes it as optional, am I missing something?


(I'm trying to implement Contacts app like behavior and I do realize there's no API to do this. My thought was to do this within the peek/preview, but pop/commit is getting in the way.)

Hi,

I have the same issue. I'd like to show more information about a song without a pop window.

With iOS 10.x it works with the music player app: deep press on a title of a song and a new dialog appears (without option to pop during deeper press).

How does it work?

Ideas and suggestions are welcome.

How to implement 3d touch peek without pop?
 
 
Q