从iOS6更新到iOS7时,identifierForVendor会发生变化吗? [英] Will identifierForVendor change when updating from iOS6 to iOS7

查看:89
本文介绍了从iOS6更新到iOS7时,identifierForVendor会发生变化吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前正在使用iOS6引入的 identifierForVendor 。现在iOS7发布了,我想知道在更新过程之后这个标识符对我的应用程序是否保持不变。

We're currently using identifierForVendor which was introduced with iOS6. Now iOS7 was released and i wonder if this identifier will stay the same for my apps after the update process.

如果我用iOS7恢复我的设备那么它会明显改变,因为这将是一个新的开始。

If i recover my device with iOS7 then it will obviously change, since it will be a fresh start.

通过iTunes / OTA进行更新怎么样?

How about the update via iTunes / OTA?

推荐答案

我还用一个只显示 identifierForVendor 的小应用程序测试了这种行为,它在从iOS6更新到iOS7之前/之后保持不变。

I've also tested this behaviour with a little app that would just display identifierForVendor and it stayed the same before/after the update from iOS6 to iOS7.

重要的是要知道 identifierForVendor 与apple开发者帐户无关,而是与应用程序的软件包标识符。

What's also important to know is that the identifierForVendor isn't related to the apple developer account, but to the bundle identifier of an app.

因此,如果您有2个开发人员帐户,并且每个帐户都创建了1个应用程序,则使用软件包标识符 com .company.xxx ,对于 com.company,它们将具有相同的 identifierForVendor 共同。

So if you have 2 developer accounts and you create 1 app on each of them, using a bundle identifier com.company.xxx, they'll have the same identifierForVendor for having com.company. in common.

它会根据条件而改变中提到的内容UIDevice类参考

更新后, advertisingIdentifier 确实可能会发生变化。虽然没有测试过。

The advertisingIdentifier may indeed change after the update. Didn't test that though.

这篇关于从iOS6更新到iOS7时,identifierForVendor会发生变化吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆