iPhone Simulator UDID是否对每个已安装的实例都是唯一的? [英] Is the iPhone Simulator UDID unique for each installed instance?

查看:223
本文介绍了iPhone Simulator UDID是否对每个已安装的实例都是唯一的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即。这是否打电话:

  NSString * udid = [UIDevice currentDevice] .uniqueIdentifier; 

在任何mac计算机上的iPhone模拟器上执行时,返回的UDID始终是相同的吗? / p>

目前我电脑上的iPhone模拟器返回2BA99337-3AE2-5234-93DA-193703B876F8。

解决方案

我的UDID从iPhone模拟器报告为03B41D62-FB69-5B6D-A95E-473842F4DFE3,所以看起来你是对的。


i.e. does this call:

NSString *udid = [UIDevice currentDevice].uniqueIdentifier;

return always the same UDID when it is executed on the iPhone Simulator on any mac computer or not?

Currently the iPhone Simulator on my computer returns "2BA99337-3AE2-5234-93DA-193703B876F8".

解决方案

My UDID is reporting as 03B41D62-FB69-5B6D-A95E-473842F4DFE3 from the iPhone Simulator, so it looks like you're correct.

这篇关于iPhone Simulator UDID是否对每个已安装的实例都是唯一的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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