Quote:
Originally Posted by DenVog
Is it possible to launch the Text Message application and have it automatically open the New Message window without prepopulating a phone number?
Right now I can get it to launch the Text Message (SMS) application, but the user then has to click the new message button to compose a message.
Code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms:"]] [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms:"]];
I don't know who they will want to forward the message to, so I can't prepopulate the phone number. I would like to save them a click and have it open the New Message window by default.
PS-Ideally I could prepopulate the body of the message for the user, but I've gone through the forums and Apple docs and come up empty on that. 
|
Have you tried an empty string in front of sms: ? A period? etc..