contacts API changes
Generated on 8/16/2024
1 search
In iOS 18, there are several changes to the Contacts API aimed at improving privacy and user control. Here are the key updates:
-
New Authorization Flow: iOS 18 introduces a two-stage prompt for apps requesting access to contacts. The first stage asks if contacts should be shared, and the second stage offers the option of providing limited or full access. This flow is automatically presented when your app requests access to contacts, enhancing transparency and control for users.
-
Contact Access Button: A new feature called the Contact Access Button allows apps to add contacts incrementally without requiring full access. This button fits within your app's UI and can grant access to new contacts with a single tap, providing a more seamless user experience.
-
Authorization Levels: There are now four authorization levels for accessing contacts. With full access, an app can read and modify any contact. Limited access allows reading and modifying only the contacts granted access. Apps start with a "not determined" status and must present an authorization prompt to access the contact store.
-
Incremental Contact Sharing: For apps that offer features like searching for mail recipients, iOS 18 allows adding contacts incrementally using the contact access button, which provides results for contacts that the app doesn't have full access to.
For more detailed information, you can refer to the sessions What’s new in privacy and Meet the Contact Access Button.
What’s new in privacy
At Apple, we believe privacy is a fundamental human right. Learn about new and improved permission flows and other features that manage data in a privacy-preserving way, so that you can focus on creating great app experiences.
Introducing enterprise APIs for visionOS
Find out how you can use new enterprise APIs for visionOS to create spatial experiences that enhance employee and customer productivity on Apple Vision Pro.
Discover media performance metrics in AVFoundation
Discover how you can monitor, analyze, and improve user experience with the new media performance APIs. Explore how to monitor AVPlayer performance for HLS assets using different AVMetricEvents, and learn how to use these metrics to understand and triage player performance issues.
Meet the Contact Access Button
Learn about the new Contacts authorization modes and how to improve Contacts access in your app. Discover how to integrate the Contact Access Button into your app to share additional contacts on demand and provide an easier path to Contacts authorization. We’ll also cover Contacts security features and an alternative API to be used if the button isn’t appropriate for your app.
Enhanced suggestions for your journaling app
Find out how your journaling app can display journaling suggestions with richer content from the system. Explore new types of available content like state of mind data, reflection prompts, and support for third-party media content and motion-based activities.