Possible Duplicate:
Check iPhone iOS Version
I want to check iOS Version in iOS.
Because i have some of codes only for iOS 6.
So how can i?
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.
Check this GitHub Gist
https://gist.github.com/998472
You can add the code or include it in your …-Prefix.pch file so you can use it wherever you need it.
EDIT
I’m leaving an example of how you can use the code from Gist so people can check if it’s useful for their case. This can also be found over the Gist.