Presenting MFMessageComposeViewController broken in iOS 6

核能气质少年 提交于 2020-01-02 18:15:35

问题


My app presents a MFMessageComposeViewController modally. It was working perfectly fine in iOS 5 (both on the simulator and on the device). After I upgraded my iPhone to 6, it simply doesn’t work anymore. The app freezes for like 10 seconds, then this message appears in the debugger

"Remote compose controller timed out (YES)!"

And the modal view does not show up. I searched extensively on stackoverflow and on the web, and couldn’t find any solution. As a final resort, I downloaded and ran the sample code of apple, "MessageComposer" and, alas, even in apple code it does not work on iOS 6. I`m completely clueless and have spent hours on this... Any idea how can I fix this?

来源:https://stackoverflow.com/questions/13575192/presenting-mfmessagecomposeviewcontroller-broken-in-ios-6

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!