Returns a Boolean value indicating whether the current device is capable of sending text messages.
YES if the device can send text messages or NO if it cannot.
Always call this method before attempting to present the message compose view controller. A device may be unable to send messages if it does not support text message or if it is not currently configured to send messages. This method applies only to the ability to send text messages. Sending multimedia messages with this class is not supported.
in iOS 5.0 or later, you should register as an observer of the MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification notification to be notified of changes in the availability of sending text messages.
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?
I am also displaying the MFMailComposeViewController, without any issues.
Thanks!
Niraj
--
You received this message because you are subscribed to the Google Groups "Australian Cocoaheads" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cocoaheadsau/-/ZC2kMiAFDcIJ.
To post to this group, send email to cocoah...@googlegroups.com.
To unsubscribe from this group, send email to cocoaheadsau...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cocoaheadsau?hl=en.
I downloaded and ran the sample code of apple, "MessageComposer" and, alas, even in apple code it does not work on iOS 6.
Yes, I am checking for the possibility to send text with those methods before.I have been playing more with it. I installed the app on my wife's iPhone 4S, running iOS 6, and it works fine.So it is either an issue with iPhone 5 or with my iPhone...
On Tuesday, November 27, 2012 6:43:45 PM UTC+11, Giovanni wrote:--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?
I am also displaying the MFMailComposeViewController, without any issues.
Thanks!
Niraj
You received this message because you are subscribed to the Google Groups "Australian Cocoaheads" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cocoaheadsau/-/KPWZNy5Ip4sJ.
I add exactly the same problem. My app was running fine? and then impossible to display the SMS controller.I rebooted my iPhone and it works fine !
--
You received this message because you are subscribed to the Google Groups "Australian Cocoaheads" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cocoaheadsau...@googlegroups.com.
Visit this group at http://groups.google.com/group/cocoaheadsau?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
I filed 13249999 and it was closed as a duplicate of 13195606.