iOS unique designator boot

Source: Internet
Author: User
<span id="Label3"></p><p><p>On March 21, 2013 Apple has informed developers that, from May 1, 2013 onwards, <strong><span style="color: rgb(0, 0, 255);">access to Uidid's apps will no longer be audited</span></strong> , and the alternative is that developers should use the "vendor or advertising identifiers described in iOS 6".</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><br>Unique identifier is about to exit, Apple gave us vendor and advertising identifier two choices, but which one should be used? The document does not give a definitive answer, which is exactly what you decide to use for your app. Below I will list the currently supported and deprecated unique identifiers methods in iOS and explain them accordingly, hoping to help you make the right Decision.</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>Cfuuid</strong><br>From the beginning of the iOS2.0, Cfuuid had already appeared. It is part of the Corefoundatio package, so the API belongs to the C language Style. the <strong><span style="color: rgb(0, 0, 255);">cfuuidcreate</span></strong> method is used to create the cfuuidref, and a corresponding nsstring can be obtained, as in the following code:</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(51, 153, 102);">Cfuuidref Cfuuid = cfuuidcreate (kcfallocatordefault); NSString *cfuuidstring = (nsstring*) cfbridgingrelease (cfuuidcreatestring (kcfallocatordefault, cfuuid));</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">The system is not stored for this cfuuid Value. Each time you call cfuuidcreate, the system returns a new unique Identifier. If you want to store this identifier, you need to store it yourself in nsuserdefaults, Keychain, pasteboard, or somewhere else.</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>Nsuuid</strong><br><strong><span style="color: rgb(0, 0, 255);">Nsuuid</span></strong> only appears in iOS 6, which is almost exactly the same as cfuuid, except that it is a objective-c interface. The + (id) UUID is a class method that calls the method to obtain a UUID. A UUID string can be obtained by using the following code:</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(51, 153, 102);">NSString *uuid = [[nsuuid uuid] uuidstring];</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">Like cfuuid, This value system is not stored and a new unique identifier is obtained each time it is Called. If you want to store it, you need to store it yourself. When I read the nsuuid, I noticed that the value obtained was exactly the same as Cfuuid (though it might be different):</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">Example: <span style="color: rgb(255, 0, 0);">68753a44-4d6f-1226-9c60-0050e4c00067</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top:0px; margin-bottom:0px; padding:0px; Color:rgb (51, 51, 51); Font-family: ' Helvetica Neue ', Helvetica, stheiti, Microsoft Jas black, blackbody, Arial, Tahoma, sans-serif, serif; font-size:14.44444465637207px; line-height:28.000001907348633px; white-space:normal; Background-color:rgb (255, 255, 255); "> <strong> ad identifier (idfa-identifierforidentifier) </strong> <br> This is another new method in iOS 6, <strong> </strong></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 128, 128);">NSString *adid = [[[asidentifiermanager sharedmanager] advertisingidentifier] uuidstring];</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top:0px; margin-bottom:0px; padding:0px; Color:rgb (51, 51, 51); Font-family: ' Helvetica Neue ', Helvetica, stheiti, Microsoft Jas black, blackbody, Arial, Tahoma, sans-serif, serif; font-size:14.44444465637207px; line-height:28.000001907348633px; white-space:normal; Background-color:rgb (255, 255, 255); "> Unlike Cfuuid and nsuuid, ad identifiers are stored by the System. however, even though this is stored by the system, there are several cases where the ad identifier is Regenerated. This ad identifier is regenerated if the user completely resets the system (restore location and privacy, general-purpose, setup, and so on). In addition, if the user explicitly restores the ads (set-up, general-purpose, and so on, to the ads, and restore the ad identifiers), then the ad identifiers will be Regenerated. With respect to the restoration of the ad identifier, it is important to note that if the program is running in the background, the user "restores the ad identifier" and then goes back to the program, and then gets the ad identifier and does not immediately get the restored Identifier. You must terminate the program before restarting the program to obtain the restored AD Identifier. I guess this is because Asidentifiermanager is a single case. </p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><br>The user has a controllable switch to "limit ad tracking" for the ad identifier. <strong><span style="color: rgb(0, 0, 255);">Nick Arnott's Article</span></strong> has been pointed Out. Turn this switch on and actually do nothing, but that's what you want to limit your access to the ad identifier. This switch is a simple Boolean flag, and when you send the ad identifier to any server side, You'd better judge the value and then make the Decision.</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">Example: <span style="color: rgb(255, 0, 0);">1e2dfa89-496a-47fd-9941-df1fc4e6484a</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>Vindor identifiers (idfv-identifierforvendor)</strong><br>This is also added to iOS 6, but the new method of getting this IDFV is added to the existing Uidevice class. As with advertisingidentifier, This method returns a Nsuuid Object.</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 128, 128);">NSString *IDFV = [[[uidevice currentdevice] identifierforvendor] uuidstring];</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">Apple's Official document has the following description of Identifierforvendor:</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">The value of this property is the same for apps, come from the same vendor running on the same device. A different value is returned for apps on the same device this come from different vendors, and to apps on different Devi Ces regardless of vendor.</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">If such a condition is met, then the obtained value of this property will not change: the same device inside the same program-the same vindor-. If this is the case, then this value will not be the same: the same program-the same device-different vindor, or the same program-different devices-whether or not the same vindor.</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top:0px; margin-bottom:0px; padding:0px; Color:rgb (51, 51, 51); Font-family: ' Helvetica Neue ', Helvetica, stheiti, Microsoft Jas black, blackbody, Arial, Tahoma, sans-serif, serif; font-size:14.44444465637207px; line-height:28.000001907348633px; white-space:normal; Background-color:rgb (255, 255, 255); ">  </p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top:0px; margin-bottom:0px; padding:0px; Color:rgb (51, 51, 51); Font-family: ' Helvetica Neue ', Helvetica, stheiti, Microsoft Jas black, blackbody, Arial, Tahoma, sans-serif, serif; font-size:14.44444465637207px; line-height:28.000001907348633px; white-space:normal; Background-color:rgb (255, 255, 255); "> After reading the above, I have a question like "what is vendor". The first thing I think about is the Apple developer Account. But it turns out to be wrong. And then I thought maybe there was a appidentifierprefix thing, like keychain access, can be shared among multiple programs. The same is true of the Idea. finally, vendor is very simple: a vendor is the first two parts of the Cfbundleidentifier (reverse DNS format). For example, Com.doubleencore.app1 and com.doubleencore.app2 get the same Identifierforvendor because the first two parts of their cfbundleidentifier are the Same. But the Identifierforvendor is completely different: com.massivelyoverrated or Net.doubleencore. </p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">One thing to note here is that if the user uninstalls all the programs for the same vendor and then re-installs the program provided by the same vendor, Identifierforvendor will be reset at this Point.</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">Example: <span style="color: rgb(255, 0, 0);">599f9c00-92dc-4b5c-9464-7971f01f8370</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><br><strong>UDID</strong><br>Available in previous versions, but in IOS5 and later versions, and Deprecated. Although this udid is used extensively, it has to be said that it is slowly moving away from the developer and cannot consider using UDID. It remains to be seen whether the identifier is to be private or to be removed entirely from a later version of Ios. however, This udid is very handy when deploying an Enterprise-class signature Program. Here's How to get udid:</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 128, 128);">NSString *udid = [[uidevice currentdevice] uniqueidentifier];</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">Example: <span style="color: rgb(255, 0, 0);">bb4d786633053a0b9c0da20d54ea7e38e8776da4</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><strong>Openudid</strong><br>When iOS 5 was released, uniqueidentifier was deprecated, causing the vast majority of developers to look for a solution that would replace Udid and not be controlled by apple. This <strong><span style="color: rgb(0, 0, 255);">Openudid</span></strong> became the most widely used open source Udid Alternative. Openudid is easy to implement in engineering and supports a range of advertising Providers.</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(0, 128, 128);">NSString *openudid = [openudid value];</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">Openudid has used a very ingenious method of storing identifiers between different PROGRAMS-A special name used to store identifiers in the Pasteboard. In this way, other programs (also using Openudid) know where to go to get the identifiers that have been generated (instead of generating a new one).</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">As already mentioned, in the future, Apple will start forcing the use of advertisingidentifier or Identifierforvendor. If this day comes, even Openudid looks like a great choice, but you may have to transition to Apple's Approach.</p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">Example: <span style="color: rgb(255, 0, 0);">0d943976b24c85900c764dd9f75ce054dc5986ff</span></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">Summarize<br>Hopefully the information above will help you choose the right unique identifier for your program Use. here, I created a small <strong><span style="color: rgb(0, 0, 255);">unique identifier test program</span></strong> , you can run the program and look at what is displayed (including all the identifiers mentioned above). In addition, there are two tables in the table that describe two things: usability in ios, and when to get a reset Identifier.</p></p><p><p><br></p></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: ‘Helvetica Neue‘, Helvetica, STheiti, 微软雅黑, 黑体, Arial, Tahoma, sans-serif, serif; font-size: 14.44444465637207px; line-height: 28.000001907348633px; white-space: normal; background-color: rgb(255, 255, 255);">* The program must be restarted to see the effect of the Change.<br>* * Remove All programs provided by the same vendor to see the changed Values.</p></p><p><p><br></p></p><p><p>iOS unique designator boot</p></p></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.