Join Tammy Coron for an in-depth discussion in this video A look at the 3D Touch APIs, part of iOS 9 3D Touch In Depth.
- View Offline
- [Voiceover] Along with the introduction of 3D Touch…comes a new set of APIs.…Let's take a look at these now.…The first is the home screen quick action API.…As you may have guessed, this API is used…for adding the quick actions to your app's icon…on the home screen.…Next up is the UIKit peek and pop API.…This API is what you use when you…provide preview and commit features to your app.…With the web view peek and pop API,…you'll be able to enable system-mediated previews…of HTML link destinations, for example,…web links and addresses.…
Finally, there's the UITouch force properties.…Using these, you can add customized…force-based user interaction to your app.…Think drawing apps in which you press a little harder…to make the brush stroke thicker.…Thought the rest of this course,…we'll take a look at each of these in more detail.…
In this course, Tammy Coron walks through the 3D Touch API. She shows how to add static and dynamic quick actions, which allow you to display shortcuts for app-specific tasks. She also covers peek—for displaying live previews of items—and pop, which opens a detailed version of the peek view. Last but not least, she shows how to implement custom actions using UITouch's new properties: force and maximumPossibleForce.
- Accessibility and 3D Touch
- Checking for 3D Touch availability
- Understanding static vs. dynamic actions
- Working with peek and pop views
- Working with UITouch objects