<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Messages",
  "identifier" : "/documentation/Messages/MSMessagesAppPresentationContext/media",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Messages"
    ],
    "preciseIdentifier" : "c:@E@MSMessagesAppPresentationContext@MSMessagesAppPresentationContextMedia"
  },
  "title" : "MSMessagesAppPresentationContext.media"
}
-->

# 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.

```
case media
```

## 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`](/documentation/Messages/MSMessage) objects, text, or non-image assets.
- You can’t use any of the [`MSConversation`](/documentation/Messages/MSConversation) class’s `send` messages ([`sendAttachment(_:withAlternateFilename:completionHandler:)`](/documentation/Messages/MSConversation/sendAttachment(_:withAlternateFilename:completionHandler:)), [`send(_:completionHandler:)`](/documentation/Messages/MSConversation/send(_:completionHandler:)-9krz), [`send(_:completionHandler:)`](/documentation/Messages/MSConversation/send(_:completionHandler:)-4kje0), or [`sendText(_:completionHandler:)`](/documentation/Messages/MSConversation/sendText(_:completionHandler:))).
- You can’t display a camera inside an [`MSMessagesAppPresentationContext.media`](/documentation/Messages/MSMessagesAppPresentationContext/media) context.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)