开发者

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

开发者 https://www.devze.com 2022-12-24 11:26 出处:网络
This question already has answers here: Closed 9 years ago. Possible Duplicate: How to programmatically send SMS on the iPhone?
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

精彩评论

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

关注公众号