I have the code below to handle the resizing when the user taps on the arrow in my iMessage app to transition to the expanded view, but how can I open the expanded view programmatically when the user segues to a new view controller in my iMessage app?
override func didTransition(to presentationStyle: MSMessagesAppPresentationStyle) {
// Called after the extension transitions to a new presentation style.
if presentationStyle == MSMessagesAppPresentationStyle.compact {
//Resize Views
}
}