1

在我们的一个项目中,我们有 2 个二进制文件,一个用于 iPhone,另一个用于 mac。这两个应用程序相互通信以实现功能。我们希望用户先下载并安装 iOS 应用程序,然后让他下载 Mac 应用程序。

如果用户在下载 iPhone 应用程序之前尝试下载 mac 应用程序,有没有办法限制用户?

4

3 回答 3

3

简短的回答:如果您指的是 Mac App Store,那么没有。

长答案:App Store 和 Mac App Store 都让您无法控制谁下载了您的应用程序,并且您无法获取有关用户已下载内容的信息。

您当然可以在您的 iOS 应用程序中要求提供电子邮件地址,并确保您的用户在通过电子邮件向他们发送指向私人下载页面(而不是 Mac App Store)的链接之前注册到服务器。

一般建议:我认为您的应用程序设计有问题。我不清楚你想要达到什么目标,我敢打赌你的用户也不会。如果您想确保他们在使用 Mac 应用程序之前为 iOS 应用程序付费,那么只需提醒他们,以防他们先下载了 Mac 应用程序。当然,您需要编写一些自定义服务来检查这一点。如果有一些功能问题需要首先启动 iOS 应用程序,那么您应该自己解决这个问题,而不是把这个负担放在用户的肩上。

于 2013-08-05T06:42:20.933 回答
2

您可以允许任何人下载,但只需阻止任何操作,直到 iOS 应用程序向服务器或 iCloud 发送某种批准令牌。

于 2013-08-05T06:49:48.800 回答
0

You have to download mac application first, and after downloading you can check if user downloaded iOS app or not, but before downloading you can't check the downloading state of iOS app, because application will upload on appStore not on your personal store.

After downloading iOS app set some flag value on server, and check this flag value on mac app downloading, it it is 1 then download else show alert.

After iOS app downloading -> Set flag value (ios Download=1) to your server.(make web service for this).

After downloading mac app -> Call you web service to check that flag value. if it is 0 then show alert to download iOS app first.

于 2013-08-05T05:38:35.310 回答