Enumeration

MSMessagesAppPresentationContext

Presentation contexts describing where your iMessage app appears.

Declaration

enum MSMessagesAppPresentationContext : UInt

Topics

Presentation Contexts

case media

A constant indicating the iMessage app appears inside effects in Messages and FaceTime.

case messages

A constant indicating the iMessage app appears inside Messages.

See Also

Working with Presentation Styles and Contexts

var presentationStyle: MSMessagesAppPresentationStyle

The extension’s current presentation style.

func requestPresentationStyle(MSMessagesAppPresentationStyle)

Asks the extension’s user interface to transition to the provided style.

func willTransition(to: MSMessagesAppPresentationStyle)

Tells the view controller that the extension is about to transition to a new presentation style.

func didTransition(to: MSMessagesAppPresentationStyle)

Tells the view controller that the extension has transitioned to a new presentation style.

enum MSMessagesAppPresentationStyle

Presentation styles that describe your iMessage app’s appearance.

var presentationContext: MSMessagesAppPresentationContext

The context describing where your iMessage app is presented.