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,355
  • 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,614
  • 4
  • 41
  • 62
Mihir Mehta
  • 13,743
  • 3
  • 64
  • 88