Is it possible to just launch SMS / iMessages (without creating a new modal message viewer app) from my own app?

I know that you can start a system application like SMS application with a system url handler like this:

NSString *stringURL = @"sms:";

NSURL *url = [NSURL URLWithString:stringURL];

[[UIApplication sharedApplication] openURL:url];

However, when you launch the SMS / iMessages app in this manner, you are automatically assigned a "write new message" modal view. Is it possible for the SMS app to be launched in it in the usual way (UITableView of your conversations with people), or better yet, directly in the view (conversation) that came to the fore when you previously left the SMS app?

+3


source to share


1 answer


I suspect the MFMessageComposeViewController of the MessageUI structure will do this for you:



http://developer.apple.com/library/ios/#documentation/MessageUI/Reference/MessageUI_Framework_Reference/_index.html

0


source







All Articles