开发者

How to send sms and receive sms in Iphone sdk? [duplicate]

This question already has answers here: Closed 9 years ago.

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 ]];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜