I am allowing users to send a message to recipient. But i need to check the recipient iphone os version, if it is ios 5, then i have to send an iMessage, else it should send normal message. How can i check that programmatically.
Share
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.
If you are using the Messages framework to display view controllers to let your users send messages, the system controllers will help you figure out whether to send a regular SMS or an iMessage. So all you need to do, really, is to ask to compose a new message to the appropriate recipient.