Allow Messages extension to request expanded presentation style when launched
| Originator: | jeff | ||
| Number: | rdar://27230972 | Date Originated: | 07-Jul-2016 05:45 PM |
| Status: | Resolved: | ||
| Product: | iOS SDK | Product Version: | iOS 10.0 (14A5297c) |
| Classification: | Reproducible: |
Summary: When a Messages extension is launched from the grid view, it should be able to successfully request an expanded presentation style. In either willBecomeActiveWithConversation or didBecomeActiveWithConversation, you can call [self requestPresentationStyle:MSMessagesAppPresentationStyleExpanded] but it will silently do nothing. I believe that if you are swiping horizontally between message extensions that this should fail, but if you launch the extension by tapping on the icon in the grid view, this call should succeed. My message extension requires having keyboard access, which is only available in expanded mode. The behavior that I'm going to have to implement is to have the view for the compact style have a "launch expanded style" button, which is not ideal. Steps to Reproduce: 1. Create Messages extension 2. In will/didBecomeActiveWithConversation call [self requestPresentationStyle:MSMessagesAppPresentationStyleExpanded] 3. User launches extension from grid view of messages apps Expected Results: Messages extension launches in expanded presentation style Actual Results: Extension is in compact presentation style
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!