0

Possible Duplicate:
How to programmatically send SMS on the iPhone?

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?

Community
  • 1
  • 1
monish
  • 1,275
  • 5
  • 18
  • 32

1 Answers1

1

you can use something like

NSString *message = [[NSString alloc] initWithFormat:@"sms:%@",phonenostring];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:message ]];
Andy Obusek
  • 12,324
  • 4
  • 40
  • 59
Mihir Mehta
  • 13,612
  • 2
  • 62
  • 86