AndyDentFree / AndyDentFree/im-plausibilities

imUrlDataApp Send from App displays weird controller rendering of message

未關閉
#4 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Swift
星號
14
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

The documentation for setting the `message` parameter in Apple's [MFMessageComposeViewController doc][m1] says:

> If your app has an iMessage app extension, you can display your iMessage app within the message compose view, just as you would in the Messages app. To display your iMessage app, create and assign an [MSMessage](https://developer.apple.com/documentation/Messages/MSMessage) object to this property.

That _works_ to enable sending a custom message, that will be properly directed to the matching iMessage extension, as seen in imUrlDataApp

However, as seen in the screenshot below, the message dialog doesn't display our custom controller's rendering. Instead there's a weird little lozenge with a copy of our icon and a cross. Tapping the cross removes our attached `message` property and reduces the message to a simple text message.

![Screenshot 2024-06-13 at 19 04 39](https://github.com/AndyDentFree/im-plausibilities/assets/1586093/8cd3917e-36e4-4166-b248-ede80b014e89)

[m1]: https://developer.apple.com/documentation/messageui/mfmessagecomposeviewcontroller/message

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。