Search code examples
iosswiftseguexcode-storyboard

Peek and Pop not an option


I'm trying to implement Peek and Pop into an app. There's only one issue- I don't have the option with my current segue setup:

Segue Setup

What am I doing wrong, and why do I not have this option?


Solution

  • How are you establishing your segue? This is poorly documented, but setting up 3D Touch segues from a Storyboard appears to be unavailable if you're using a Manual Segue (controller to controller) versus an Action Segue (object to controller).

    To illustrate, here's a Manual Segue with 3D Touch segues absent:

    enter image description here

    Here's an Action Segue with 3D Touch segues present:

    enter image description here