MSMessagesAppPresentationContext.media
A constant that indicates the iMessage app appears inside the Stickers app throughout iOS including in Messages, FaceTime, the emoji keyboard, and Markup.
Declaration
case mediaMentioned in
Discussion
The media context supports only a subset of the Messages framework API. Specifically, the following limits apply:
The iMessage app can only insert sticker and image attachments. You can’t insert MSMessage objects, text, or non-image assets.
You can’t use any of the MSConversation class’s
sendmessages (sendAttachment(_:withAlternateFilename:completionHandler:), send(_:completionHandler:), send(_:completionHandler:), or sendText(_:completionHandler:)).You can’t display a camera inside an MSMessagesAppPresentationContext.media context.