I am making an app and I see that uniqueIdentifier is deprecated in iOS 5, but I kinda need to identify devices using the app so that I can tell them apart. I tried to access the uniqueIdentifier property of UIDevice and it still works. Does anyone know how long this will last? Will it work forever?
The reason I don’t want to switch to CFUUID is because it will change each time the user installs and uninstalls the app.
It’s deprecated – you shouldn’t rely on it. It could keep working for years and several new major versions, or it could stop with a minor version in a week’s time.