适用于 iOS 7.0 及更高版本的 iOS 设备的唯一标识 [英] Unique Identification of iOS device for iOS 7.0 and above

查看:17
本文介绍了适用于 iOS 7.0 及更高版本的 iOS 设备的唯一标识的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

寻求您的帮助

我在获取设备标识符时遇到问题.实际上我正在使用 UIDevice+IdentifierAddition.h、NSString+MD5Addition.h 类来获取标识符,但它为我的所有设备返回相同的标识符,即 iPhone 4s (iOS 7.1) &iPhone 5(iOS 7.1.1).

I am facing a problem while getting Device Identifier. Actually I am using a UIDevice+IdentifierAddition.h, NSString+MD5Addition.h classes to get Identifier, but its return same identifier for all my devices i.e. iPhone 4s (iOS 7.1) & iPhone 5 (iOS 7.1.1).

任何人都可以对此问题有任何解决方案.因为我想要一个特定于设备的独特的东西.这是我的应用要求.

Can any one have any solution for this problem. because I want a something unique for device specific. its my app requirement.

重要提示:我想在应用商店提交此应用,所以请务必按照指南进行回答

推荐答案

从 iOS 7 开始,不再可能获得任何唯一的设备标识符.

Since iOS 7 it is no longer possible to get any unique device identifiers.

您的选择是:

  • create your own unique ID and save it in the keychain.
  • use the vendor ID, which will be reset if all the app by the same vendor are removed from the device.

这篇关于适用于 iOS 7.0 及更高版本的 iOS 设备的唯一标识的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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