Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iphone sdk中有没有办法以编程方式检索购买应用程序的帐户名称?
帐户名称是指您用于登录 iTunes 的名称。
编辑 为了更清楚,我的意思是您可以在“商店”下的 iPhone 设置下找到的帐户名称。
编辑 它可以通过 NSUserDefaults 访问吗?
没有记录的方法可以做到这一点,如果您尝试绕过它,您可能会发现自己被 AppStore 评论者拒绝。Apple 试图保护其客户信息。
我对这个问题有一个补充:有没有办法至少(以编程方式)确认该应用程序是从 AppStore 购买的?或者,也许有一种方法可以从 AppStore 中获取购买了我的应用程序的设备 ID 列表?
原因是愿意确定应用程序是否是合法购买的......