INImage
Image data inside an Intents extension or Intents UI extension.
Declaration
class INImageMentioned in
Overview
INImage is a wrapper for image data that you include in a response to an intent. When providing a response to an intent, you must specify any image parameters using instances of this class. INImage supports the same formats as the underlying platform.
When confirming or handling an intent, you provide a response object with details about how your app handles that intent. When that response contains an image, use the imageSize(for:) method to determine the required image size and then create an instance of this class with the corresponding image data.