简体   繁体   English

iOS,如何知道在iOS Appstore中使用哪个帐户购买应用程序?

[英]iOS , How to know which account was used to buy app in ios appstore?

I know that apple do not permit to get programmatically details about phone's owner account. 我知道苹果不允许以编程方式获取有关手机所有者帐户的详细信息。 I can't have the email or any others personal informations, it's all about privacy. 我没有电子邮件或任何其他个人信息,这全都是关于隐私的。

If i want to identify a device instead of a user account, there is a similar situation, but in this case Apple is trying to fill this "lack of funcionality". 如果我想识别设备而不是用户帐户,则存在类似情况,但是在这种情况下,Apple试图填补这种“功能不足”的问题。 From ios 11 there is a system that create a way to identify ( without show any personal informations ) a device. 从ios 11开始,有一个系统可以创建一种识别(不显示任何个人信息)设备的方法。

DeviceCheck 设备检查

So my question is: There is something similar but centered to user's identification ? 所以我的问题是:有一些类似但集中于用户身份的东西吗?

I don't need to collect/see personal info (lik emails,name,ecc..) , i need only an unique id that identify an apple user account. 我不需要收集/查看个人信息(如电子邮件,名称,ecc ..),我只需要标识一个苹果用户帐户的唯一ID。 I have to store it in my system to check "if a user has did an action". 我必须将其存储在系统中,以检查“用户是否已执行操作”。

There's no way to do that. 无法做到这一点。 If you need to uniquely identify your users, create a UUID when your app starts the first time after installation. 如果您需要唯一标识用户,请在安装后首次启动应用程序时创建一个UUID

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM