Apple ID可以从Cocoa Touch中的App下载中获取 [英] Apple ID retrievable from App download within Cocoa Touch

查看:161
本文介绍了Apple ID可以从Cocoa Touch中的App下载中获取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好
我在一个iphone应用程序,需要维护一个有点独特的标识符每次下载。有没有办法检索用于下载应用程序的Apple ID或可用于将具有该下载的所有设备链接到远程数据库/服务的其他标识符?

Hi I'm working on an iphone app that needs to be maintain a somewhat unique identifier per download. Is there a way to retrieve either the Apple ID used to download the App or another identifier I can use to link all devices with that download to a remote database/service?

基本上我想要我的自定义生成的数据的一个实例坐在任何设备链接到某个Apple ID。如果iTunes签署您下载的任何应用程序,使用该校验和也将是一个选项。

Basically I want a single instance of my custom-generated data sitting on whatever device is linked to a certain Apple ID. If iTunes signs any App that you download, using that checksum would also be an option.

有任何想法吗?

推荐答案

如果您使用IAP(在应用程序购买),您可以将用户购买绑定到单个收据,并验证收据对苹果的服务器。

If you use IAP(In App Purchase), you can tie a users purchase to a single receipt, and verify that receipt against Apple's servers.

对于应用商店购买,而不是IAP,苹果允许,并强迫开发商允许他们的App Store应用程序运行相同的设备作为一个客户可以打开他们的iTunes帐户,没有信息可用的应用程序,这是否是客户的第一次安装或他们的第N。如果该商业模式不适合您,请不要将应用程序出售在App Store中。

For App store purchases, as opposed to IAP, Apple allows, and pretty much forces a developer to allow their App store apps to run identically on as many devices as a customer can put their iTunes account on, with no information available to the app about whether this was the customer's first install or their Nth. If that business model doesn't work for you, don't put the app for sale in the App store.

这篇关于Apple ID可以从Cocoa Touch中的App下载中获取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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