链接到应用管理应用商店订阅 [英] Link to app manage subscriptions in app store

查看:203
本文介绍了链接到应用管理应用商店订阅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前有In App Purchase的取消自动更新订阅的唯一方法就是做与设备以下内容:

设置>商店>查看我的帐户>管理我的订阅

是否有可能以编程方式在应用商店直接链接到管理我的订阅页面?我知道我可以通过类似

打开App Store

  NSURL * URL = [NSURL URLWithString:@ITMS-应用://itunes.apple.com];
[UIApplication的sharedApplication]的OpenURL:URL];

我见过的其他应用程序做到这一点,但我似乎无法弄清楚如何。


解决方案

在此之后<一个href=\"http://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/13_ManagingIn-AppPurchases/ManagingIn-AppPurchases.html\"相对=nofollow> iTunes Connect的指南,该网址如下:

  https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions


  

您可以在App直接链接到管理订阅页面
  存储,而无需编写自己的管理订阅页面。至
  这样做,链接到这个网址:
   https://buy.itunes.apple.com/WebObjects/MZFinance.woa / WA / manageSubscriptions


然而,这会重定向到Safari浏览器重定向到App Store应用之前。因此,用户将看到应用程序在他们的设备切换两次。更改 HTTPS ITMS ITMS-应用似乎并不只是工作。

顺便说一句,这只是在设备上工作。它不会在模拟器上工作。

Currently with In app purchase the only way to cancel an auto-renewing subscription is to do the following with the device:

Settings > Store > View my account > Manage my subscription

Is it possible programmatically to link directly to the Manage my subscription page in the app store? I know I can open the app store via something like

NSURL *url = [NSURL URLWithString:@"itms-apps://itunes.apple.com"];
[[UIApplication sharedApplication] openURL:url];

I have seen other apps do this but I can't seem to figure out how.

解决方案

Following this iTunes Connect guide, this URL works:

https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions

You can link directly to the Manage Subscriptions page in the App Store without having to write your own manage subscriptions page. To do so, link to this URL: https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions

However this will redirect to Safari before redirecting to App Store App. So the user will see app switching twice in their device. Changing https to itms or itms-apps does not seem to just work.

Btw, this only works on the device. It wouldn't work on the simulator.

这篇关于链接到应用管理应用商店订阅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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