TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

iOS developers: Say goodbye to UDIDs

89 点作者 chillericed大约 12 年前

7 条评论

gilgoomesh大约 12 年前
It's not a big deal. Just use the:<p><pre><code> [[ASIdentifierManager sharedManager] advertisingIdentifier]; </code></pre> for advertising across apps from different vendors or:<p><pre><code> [[UIDevice currentDevice] identifierForVendor]; </code></pre> for tracking your own library of apps or save a:<p><pre><code> CFUUIDCreate(); </code></pre> for tracking a specific app.<p>Developers who are upset that these IDs could be changed by the user if they restore their device or deliberately reset them are precisely the privacy violators that Apple are trying to eliminate. Yes, there are keychain tricks to create a more persistent ID (or MAC IDs to identify the device, regardless of user) but if you truly need long-term persistent, unique identification users, have them log into your service instead of trying to steal their identity without permission.<p><i>Edit</i>: I forgot to mention another clean option for persistent identification... store a uuid from CFUUIDCreate() in an iCloud ubiquity container. Yes, the user will need to have an iCloud account and allow your app to store there. However, it does not require the user log into anything new and is the only measure that will follow a user through both app deletion and device changes (other than logging into your servers).
评论 #5421062 未加载
评论 #5421130 未加载
评论 #5421229 未加载
评论 #5421449 未加载
评论 #5422001 未加载
fnayr大约 12 年前
The real story here is not the UDID ban which we knew was coming (and is easily counter-able as demonstrated in the comments already), but the forced iPhone 5 support.<p>Now this wouldn't be an issue except that Apple doesn't allow you to support the iPhone 5 without targeting iOS 4.3 or higher. So this kills off support for iOS 3.1.3-4.2. This might not seem like such a bad thing, but if you're targeting certain demographics like kids (as I am), it cuts off a significant percentage (7% in my case) of users.
评论 #5421922 未加载
评论 #5421546 未加载
KwanEsq大约 12 年前
Permalink: <a href="https://developer.apple.com/news/?id=3212013a" rel="nofollow">https://developer.apple.com/news/?id=3212013a</a>
tqc大约 12 年前
Was there ever a good reason for using UDID anyway? The only examples I've seen are user tracking for ads (has privacy issues) or a horribly broken login system.<p>Anyone bothered by this is probably doing something wrong.
评论 #5421854 未加载
seivan大约 12 年前
MacAddress or vendor identifier. You could also generate random... but it's a good idea to keychain it under its own namespace.
cynix大约 12 年前
I vaguely remember some apps using the MAC address of the WiFi interface as an identifier. Has this been banned yet?
评论 #5420898 未加载
EGreg大约 12 年前
How will this affect TestFlight and other such apps? Don't they still need your UDID?
评论 #5421669 未加载
评论 #5421838 未加载