Provides a convenient way to adopt all of the protocols in the photos domain.
- iOS 10.0+
- watchOS 3.2+
INPhotos protocol is a convenience protocol that adopts all of the protocols used to handle photo-related intents. When your app adopts all of the protocols associated with photos, you can adopt this one protocol instead of adopting the
INStart protocols separately.
An object that adopts this protocol must be able to respond to the following intents:
INSearch, a request to search for a specific photo.
For Photos Intent
INStart, a request to begin a slideshow of the specified photos.
Photo Playback Intent
Your handler object must be prepared to resolve any parameters associated with these intents and to confirm and handle the requests. When confirming and handling a request, you provide the response object that matches the specified intent.