I have made a simple collection view in the storyboard of iMessage Extension. On selecting an item of the collection , I am creating an MSMessage() object & inserting it in the saved conversation. While this is not an issue while the iMessage view is in .compact mode, there is an issue in .expanded mode. While the MSMessage() object is getting inserted correctly & it's preview being available in the Toolbar accessory of the keyboard, I need to explicitly change the view from .expanded to .compact to see the preview by pressing the arrow button on the top right bar button . Please suggest a way to change the view from .expanded to .compact when I select an item in the collection View programmatically.
How to force transition of iMessage Extension view from .expanded to .compact?
1.7k views Asked by MrDank At
1
There are 1 answers
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in COCOA-TOUCH
- How to get MetricKit SignPost Metrics data formulated into battery usage % for feature wise usage in iOS app?
- Clicking the right mouse button. Mac M1 (Designed for iPad)
- iOS Swift : How to detect that other apps are being use by the user or not?
- Text background color for newlines in TextKit 2
- How to build ios release bundle in flutter app?
- will my application be rejected if i use UIApplication.value(forKeyPath: #keyPath(UIApplication.shared)) as? UIApplication
- Check number of touches in hitTest - Swift
- CallDirectory app extension runs out of memory without beginning request
- How do I properly design my own custom table cell?
- Reorder multiple items in a UICollectionView
- How can I transfer data between two files without segue?
- Deleting from the start of the UITextfield clears the whole textfield
- Error Running terminal command in Mac App
- How to get C char * string value in swift?
- TextView adds bottom padding/space when text is one line
Related Questions in IMESSAGE
- How to send message to recipients individually?
- Why does my vCard display as *.vcf file on iOS?
- How to change iMessage group chat photo using AppleScript or Javascript?
- iOS UITableView content goes under UINavigationBar weird bug when inputAccessoryView containing UITextView shows keyboard
- AppleScript iMessage to SMS accounts not working MacOSX Sonoma
- iMessage User Agent firing crawler twice
- Sending MSMessage in iOS 17 Simulator Fails
- activeConversation is always nil while developing iMessage App
- IMessage can't show applicps banner after iOS 16.4
- OpenGraph message preview messages are not showing in iMessage, but they're showing everywhere else
- Open Graph meta tags not fully recognized
- How to scrape iMessages in Python?
- Can we send iMessages hooked up to a backend application?
- Trouble adding message.framework and messages module
- Applescript for iMessage to do a tap back (heart, like, etc) on a message
Related Questions in IMESSAGE-EXTENSION
- activeConversation is always nil while developing iMessage App
- [Ext.DevTunnelOperationError]: Unable to execute dev tunnel operation 'create'. unable to verify the first certificate
- How do I Add a iMessage Sticker Pack to Flutter App
- In a SwiftUI iMessage Extension, is there a way to embed a photo picker rather than a modal?
- Is it possible to alter and read messages in iMessage via an iOS app?
- Creating an iMessage app without using a storyboard
- Unable to load iMessage extension on a physical device
- iMessageApp - MessagesViewController is not in the view hierarchy
- Load stickers from the Server and show in iMessage app
- How would one open an iMessage app extension from the hosting application?
- MessageExtension App usage description error but I have the key in my Info.plist
- MessageExtension returned a NSURLErrorDomain when requesting the server
- Teams custom app apears only sometimes on store after publishing it
- Teams Toolkit: Search based Message Extension not returning Adaptive-Card
- iOS Sticker Pack Extension is not visible in iMessage if downloaded from the AppStore
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Call
requestPresentationStyle(_:)on yourMSMessagesAppViewControllerto make the transition.Note that the system may not let you do this in certain circumstances, such as immediately upon your app activating. In general you should make the request, as you're planning, only when the user takes an action. From the method's doc: