Join Tammy Coron for an in-depth discussion in this video 3D Touch and the HIG, part of iOS 9 3D Touch In Depth.
- [Voiceover] As a developer, it is your responsibility to follow the Apple Human Interface Guidelines. By doing so, you help to improve the experience for the users by making your app's interface more intuitive, learnable, and consistent. When you're implementing 3D Touch features, do so according to the guidelines set forth by Apple. So let's take a look at what the HIG has to say about 3D Touch, starting with Peek and Pop.
Firstly, be consistent. Do not implement Peek and Pop haphazardly throughout your apps. If you plan to provide Peek and Pop, do it uniformly and appropriately. Secondly, if you provide a peek view, you should also provide a corresponding pop view. Users will expect this, so make sure you add it. Thirdly, not all users have 3D Touch-enabled devices. That being said, if you provide Peek and Pop within your app, make sure you mirror these options using touch and hold.
When it comes to Quick Actions, there are a few things to keep in mind. Firstly, home screen quick actions are not to be used as a means of notifying users of anything. Secondly, Quick Actions are not to be used to circumvent complicated navigation. They're used for important activities. If you plan to use them to ease your app's navigation, then you need to reevaluate your navigation. It's likely too complicated.
Finally, when giving your Quick Actions titles, be clear and concise. Do not think up catchy or clever names, when simple and clear will do.
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