March 2014
Intermediate to advanced
672 pages
40h 11m
English
It’s even easier to send a text from your applications than to send an e-mail. This particular controller is shown in Figure 8-4. As with mail, first ensure that the capability exists on the iOS device and declare the MFMessageComposeViewControllerDelegate protocol:
[MFMessageComposeViewController canSendText]
Figure 8-4 The message compose view controller.
Monitor the availability of text support, which may change over time, by listening for the MFMessageComposeViewControllerTextMessageAvailabilityDidChangeNotification notification.
Recipe 8-8 creates the new controller and sets its ...
Read now
Unlock full access