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