How to send sms and receive sms in Iphone sdk? [duplicate]
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 im开发者_Python百科plement this functionality? Can anyone provide sample code for this?
you can use something like
NSString *message = [[NSString alloc] initWithFormat:@"sms:%@",phonenostring];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:message ]];
精彩评论