有没有人让他们的iOS应用程序被Apple拒绝使用设备UDID? [英] Has anyone had their iOS App rejected by Apple for using the devices UDID?

查看:102
本文介绍了有没有人让他们的iOS应用程序被Apple拒绝使用设备UDID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听到一些传言称Apple拒绝使用iOS5弃用方法的应用 [UIDevice uniqueIdentifier] 。任何人都可以确认他们的应用程序被拒绝了吗?我知道使用这种弃用方法的替代方法,但我们的一位客户要求我们使用我们知道使用此方法的第三方库。

I have heard some rumours that Apple is rejecting apps for using the iOS5 deprecated method [UIDevice uniqueIdentifier]. Can anyone confirm that they have had their App rejected for this reason? I know of the alternatives to using this deprecated method, but one of our customers is requesting we use a 3rd party library that we know uses this method.

我会感到惊讶如果是这种情况,因为API方法已被弃用而不是私有。

I would be surprised if this is the case as the API method has been deprecated and not made private.

推荐答案

Apple因此没有拒绝应用程序。我在支持推送通知的应用程序中收集设备UDID和令牌,并且它们都已获得批准。 UDID只是已弃用,这意味着Apple最终不会允许您访问它们。一切仍然有效并且将被批准。

Apple is not rejecting apps because of this. I collect device UDIDs along with tokens within my apps that support push notifications and they have all been approved. UDIDs are simply deprecated, meaning that Apple will eventually not allow you to access them. Everything still works and will be approved.

我听说Apple不赞成对UDID的访问,以防止开发人员和第三方分析师识别特定人员。如果真的是因为iCloud存在问题,Apple显然会修复此问题,而不是给其他人带来不便。

I heard that Apple deprecated access to UDIDs to prevent developers and third party analysts from being able to identify specific people. If it truly was because of issues with iCloud, Apple would clearly have fixed this instead of inconveniencing everyone else.

编辑:看起来像Apple拒绝某些应用程序访问设备的UDID。为了安全起见,我会使用 CFUUID 来创建随机唯一标识符。您可以使用 NSUserDefaults 或钥匙串进行保存。钥匙串的优点是,如果用户删除了您的应用程序,则不会删除钥匙串项目,因此如果用户重新安装您的应用程序,您仍然可以访问UDID。只有在用户恢复设备时才会删除它。

It looks like Apple is rejecting some apps for accessing the device's UDID. Just to be safe, I would use CFUUID to create a random unique identifier. You can use NSUserDefaults or the keychain to save it. The advantage to the keychain is that if the user deletes your app, the keychain items are not deleted so you can still access the UDID if the user reinstalls your app. It will only get deleted if the user restores their device.

这篇关于有没有人让他们的iOS应用程序被Apple拒绝使用设备UDID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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