2

I use [[device identifierForVendor] UUIDString] to return the udid.

When I test with a build using my iPad the value returned is different to when I run using the app when downloaded from the App Store.

I am using the same device, yet the udid differs?

I have only noticed this since updating to Xcode 6.1.

Is there a setting in Xcode that determines this?

thanks.

paulco
  • 23
  • 3

1 Answers1

1

You need to persist it yourself as it will change when a user uninstalls/re installs the app. So in your case when you download it from the Appstore its a new install and the identifier will have changed

How to preserve identifierForVendor in ios after uninstalling ios app on device?

Community
  • 1
  • 1
JSA986
  • 5,870
  • 9
  • 45
  • 91