如何识别iPhone/iPad用户的itunes账户信息?
我正在为我的应用程序开发同步解决方案,我希望能够查明刚刚下载我的应用程序的用户是否愿意将应用程序的数据与托管在另一台设备上的同一应用程序同步(例如,安装了在 iPhone 和 iPad 上),这样我就可以提示用户设置同步。有没有办法 (a) 获取用户的 iTunes 帐户信息(电子邮件地址或其他唯一标识符),或 (b) 确定用户的 iTunes 帐户是否已在其他设备上安装了该应用程序?
I am working on a sync solution for my app, and I would like to be able to find out if the user who has just downloaded my app would like to sync the app's data with the same app but hosted on another device (e.g., installed on both an iPhone and an iPad), so I can prompt the user to set up syncing. Is there a way to either (a) get the user's iTunes account information (the email address or some other unique identifier), or (b) identify if the user's iTunes account has already installed the app on another device?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
绝对没有办法获取用户的iTunes账户信息;这将是一个安全问题。设备本身有一个唯一的设备 ID,可以通过以下方式获取:
如果您实现 UrbanAirships AirMail /Push 功能,如果用户选择从您的应用接收推送消息,您可以查看有多少用户选择加入,如果您设置了设备名称属性,仅此而已。
另外,要在多个设备之间同步数据等,我建议 Dropbox。
Theres absolutely no way to get user's iTunes account information; that would be a security issue. The devices themselves have a Unique Device ID which can be obtained using:
If you implement UrbanAirships AirMail /Push feature, if the user opts to receive push messages from your app, you can view how many users are opt'd in, and if you set the device name property, but thats about it.
Also, to sync data between multiple devices and such, I would suggest Dropbox.