1

我正在使用UIDocumentInteractionController。當用戶選擇「郵件」選項時,我想用一些電子郵件預先填寫MFMailComposeViewController。這是可能的,如果是這樣的話?我已經嘗試覆蓋presentViewController:animate:完成以查看MFMailComposeViewController是否也呈現爲與UIDocumentInteractionController相同的viewController;那沒用。簡單地說,我需要獲得對用戶從選項菜單中選擇「郵件」時顯示的MFMailComposeViewController實例的引用。UIDocumentInteractionController'郵件'選項預填充收件人

回答

0

看來我是如何試圖解決我的問題是不可能的。解決此問題的唯一方法是將您自己的郵件按鈕映射到IBAction,並使用代碼實現MFMailComposeViewController實例化,並將郵件收件人和文檔作爲附件。

相關問題