I have using the following code for get identifier
deviceName = [[UIDevice currentDevice]uniqueIdentifier];
But i got the warning uniqueIdentifier is deprecated in ios5.
so how to get the identifier value in ios5?
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.
You can use the following code
And this way you can maintain the previous min requirement.
This identifier is unique for all the apps from one vendor. If you want unique identifier for device you need to use:
Warning: There is a bug on iOS6 that reports “null” identifier if the device was updated “by air” – More info