---
title: "requestPresentationStyle(_:)"
framework: messages
role: symbol
role_heading: Instance Method
path: "messages/msmessagesappviewcontroller/requestpresentationstyle(_:)"
---

# requestPresentationStyle(_:)

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

## Declaration

```swift
func requestPresentationStyle(_ presentationStyle: MSMessagesAppPresentationStyle)
```

## Parameters

- `presentationStyle`: The desired presentation style. For a list of possible styles, see doc://com.apple.messages/documentation/Messages/MSMessagesAppPresentationStyle.

## Discussion

Discussion Use this method when you need to change the extension’s presentation style. Keep in mind that the user should have ultimate control over the extension’s presentation style. If the user chooses to change the presentation style, you want to respect that choice. important: You cannot pass the MSMessagesAppPresentationStyle.transcript presentation style to this method. If you call this method on a view controller with a MSMessagesAppPresentationStyle.transcript presentation style (which is a controller that’s presenting an interactive view in the transcript), the system creates a new instance of the view controller and displays it using the provided presentation style.

## See Also

### Working with Presentation Styles and Contexts

- [presentationStyle](messages/msmessagesappviewcontroller/presentationstyle.md)
- [willTransition(to:)](messages/msmessagesappviewcontroller/willtransition(to:).md)
- [didTransition(to:)](messages/msmessagesappviewcontroller/didtransition(to:).md)
- [MSMessagesAppPresentationStyle](messages/msmessagesapppresentationstyle.md)
- [presentationContext](messages/msmessagesappviewcontroller/presentationcontext.md)
- [MSMessagesAppPresentationContext](messages/msmessagesapppresentationcontext.md)
