A source view, in a previewing view controller’s view hierarchy, responds to a 3D Touch by the user.
- iOS 9.0–13.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
Set the value of this property when you register a view controller to participate in 3D Touch. Do this in the view controller’s
When the user begins to press on the source view, the system blurs the surrounding area to let the user know that a preview (peek) is available. At this time, the system calls your
previewing method to let you prepare the presentation of a preview. If the user presses more deeply, the system presents the preview defined in your delegate method.
If the user presses deeper on the preview, the system navigates to the view you’ve specified in your
previewing method. The commit view then fills the bounds of the app’s window.