提醒用户对应用程序进行评分的警报

发布于 2024-10-31 20:24:10 字数 281 浏览 0 评论 0原文

正如您可能在某些应用程序中看到的那样,会弹出一个警报,要求用户在 iTunes 中对应用程序进行评分,通常您可以选择的选项如下:当然,这将打开应用程序的评分页面。第二个选项是“不,谢谢”,它会关闭警报,第三个选项通常是稍后,它会稍后显示警报。

我想知道该怎么做。 如果可能的话,我希望在应用程序启动 20 次后显示警报。 我怎样才能创建一个可能稍后的替代方案,以便在应用程序启动 15 次后显示警报?

最后一个问题是应用程序费率页面有一个特殊的链接吗?因此,当您单击确定按钮或其他任何按钮时,您将直接进入费率页面。

As you may have seen in some apps an alert pops up asking the user to rate the app in itunes and usually the alternatives you get to choose from is something like: Sure which opens the rate page for the app. The second option is No Thanks which closes the alert and the third option usually is maybe later which displays the alert later.

I was wondering how to do this.
I want the alert to be displayed after say the app has launched 20 times if that would be possible.
And how can I create an maybe later alternative which displays the alert maybe 15 launches of the app later?

And a final question is there a special link for the apps rate page? So when you click the sure button or whatever it will take your directly to the rate page.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

紅太極 2024-11-07 20:24:10

我用过这个:https://github.com/arashpayan/appirater。您也可以查看我的叉子,了解我需要的特定模组。

[编辑:评论 NSUserDefaults]

我建议此链接,因为它是您所描述的内容的完整、有效的实现,可以轻松集成到现有应用程序中。我自己使用(并修改过)它。 NSUserDefaults 是一种用于持久保存应用程序状态的通用机制。我同意其他人的观点,学习和使用这是一个非常有用的东西,它只是不是你问题的完整答案。如果您选择自己实施评级系统(这没有问题),您很可能会使用 NSUserDefaults 来存储相关信息。

I've used this: https://github.com/arashpayan/appirater. You can look at my fork as well for a specific mod I needed.

[EDIT: comment re NSUserDefaults]

I suggested this link because it is a full, working implementation of what you describe that is easily integrated into existing apps. I've used (and modified) it myself. NSUserDefaults is a general purpose mechanism for persisting app state. I agree with the others that it's a very useful thing to learn and use, it's just not a full answer to your question. If you choose to roll your own implementation of a rating system (nothing wrong with that) you will most likely use NSUserDefaults to store the relevant info.

晨曦慕雪 2024-11-07 20:24:10

查看我对这个类似问题的回答。我提供了两个不同的链接,您可以使用它们将用户带到 App Store 中的“评价此应用程序”屏幕。

我的应用程序中有直接“iTunes 中的价格”链接吗?< /a>

Check out my answer for this similar question. I provide two different links you can use for taking the user to the "rate this app" screen in the App Store.

Direct "rate in iTunes" link in my app?

水水月牙 2024-11-07 20:24:10

您可以使用 NSUserDefaults 保存启动计数(在 application:didFinishLaunchingWithOptions: 中递增),然后将用户的选择保存到另一个首选项键。如果用户稍后说,您可以将计数器重置为零。

我认为没有特殊的评级链接,但您可以链接到应用程序的特定 App Store 页面。正如 TomSwift 指出的那样,这是不正确的;请参阅我的应用中的直接“iTunes 中的汇率”链接?

You can use NSUserDefaults to save the launch count (increment it in application:didFinishLaunchingWithOptions:), then save the user's choice another preference key. If the user says later, you could reset the counter back to zero.

I don't think there is a special rating link, but you can link to your app's specific App Store page. This was incorrect, as TomSwift points out; see Direct "rate in iTunes" link in my app?

惟欲睡 2024-11-07 20:24:10

我编写了一个库来完成此操作,您只需付出最少的努力:

https://github.com/nicklockwood/iRate

我建议使用库而不是推出自己的解决方案。这看起来似乎是一个简单的问题,但库会处理一大堆额外的事情,例如确保提示用户安装每个新安装的版本,如果他们拒绝,在一段时间后会提醒他们,他们不是提示去应用商店除非有网络连接等。

I wrote a library for doing this with minimal effort on your part:

https://github.com/nicklockwood/iRate

I'd recommend using a library rather than rolling your own solution. It may seem like a simple problem but the library takes care of a whole bunch of extra stuff, like ensuring that the user is prompted for each new installed version, that they are reminded after a certain time if they decline, that they aren't prompted to go to the app store unless they have a network connection, etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文