views:

382

answers:

1

I want to implement SMS functionality in my application. Is there any way to do this, or any documentation to implement this functionality? Can anyone provide sample code for this?

+1  A: 

you can use something like

NSString *message = [[NSString alloc] initWithFormat:@"sms:%@",phonenostring];

        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:message ]];
mihirpmehta
Then how can I get the sms body to enter the text?
monish
Apple Documents haven't Specified anywhere that thing...and i don't think so Apple Support that...
mihirpmehta