In-app "Quick Actions" for 3D Touch

664 Views Asked by At

In iOS 11 and in Swift, how can I display 3D Touch "quick actions" like those on the Home screen (curved menu items and blurred background except for selected element), but inside my app?

See this screenshot of the Phone app for reference.:

enter image description here

1

There are 1 best solutions below

0
On

Check out this documentation on in-app peek & pop. There's a "ViewControllerPreviews" sample mentioned at the top that you can download.

https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/Adopting3DTouchOniPhone/