I’m new to iPhone development. I want to pass some string with additional SMS detail. I’m using the below code to send an SMS to a particular number but if I want to send some data with the SMS string then what should I do? Could anyone tell me the format for that?
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms://9016098909891"]];
You can use in app sms feature where you can set your SMS text body..
Step 1: Import the MessageUI Framework into your project and import the header file
#import <MessageUI/MessageUI.h>Step 2: send sms as follows
Step 3: handle the delegates as
see the article here http://blog.mugunthkumar.com/coding/iphone-tutorial-how-to-send-in-app-sms/