How to program auto-renewing in app purchase to satisfy Apple guidelines?

与世无争的帅哥 提交于 2019-12-03 16:24:47

You should try to look at what other apps are doing to get an idea of what is required. Here are the things they asking for:

1- Information about the auto-renewable nature of the subscription:

For this you need to include this section from the apple contract in you app. I think they don't want you to use a UIAlertView for this. This might be what they are referring to by 'a modal alert'. This is the text you need to include (exactly or rephrased):

• Payment will be charged to iTunes Account at confirmation of purchase

• Subscription automatically renews unless auto-renew is turned off at least 24-hours before the end of the current period'

• Account will be charged for renewal within 24-hours prior to the end of the current period, and identify the cost of the renewal

• Subscriptions may be managed by the user and auto-renewal may be turned off by going to the user’s Account Settings after purchase

• Any unused portion of a free trial period, if offered, will be forfeited when the user purchases a subscription to that publication, where applicable.

Here is an example of how evernote does it:

2- You also need to include links to you privacy policy and terms of use inside the app. You can put these the same place you put the information above

3- You need to include the length of you subscriptions in app description from itunes connect. (e.g monthly and annual subscriptions plans ... )

4- You need to put you privacy policy in the privacy policy URL field:

My app was approved this morning. The two keys that led to approval are: 1) putting all of the requested information into the metadata in the Description field on itunesconnect; and 2) changing the UI to a tableview controller with all of the requested information in a UITextView inside a static cell, with active links to the terms of use and privacy policy. Given my experience, I doubt that the way Evernote did it in a comment on this thread will work in the future (it looks like a UIAlertController modal alert, which has been one of the sticking points in my case - Apple absolutely does not want modal alerts, apparently because the user must click on something to display the required information). In contrast, the solution that worked for me was to have all of the information passively displayed in a tableview, and to have the in app purchase selected by clicking on a row in the tableview.

Evernote have updated their subscription purchase flow slightly since the screenshot above. It's still a very good example of how to do this well without the mandatory "Your iTunes account..." stuff getting in the way of the purchase process.

Note that Evernote now have links to their Privacy Policy and Terms of Service just below the monthly / yearly purchase options.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!