I used some code like below:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"sms://123"]];
- what would happen if it runs in ipod touch
- how to target iphone user only when publish the app to the store.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In your app’s
Info.plistfile, set theUIRequiredDeviceCapabilitiesproperty to containsmsas one of the keys. The App Store will handle whether or not to present your app to which devices that users browse the App Store with, and iTunes will know which devices it can sync your app to and which it can’t.