Ios In-App purchase app rejected -- Please help

Do you know why our app was rejected ? Do they want us to have a separate “restore” button ?  

thanks

Apple posted the follow reasons

We found that your app offers In-App Purchase(s) that can be restored but does not include the required “Restore” feature to allow users to restore the previously purchased In-App Purchase(s), as specified in the Hosting Non-Consumable In-App Purchases section of the iTunes Connect Developer Guide:

“Users purchase non-consumable products only once, so if you host your own non-consumables, you need to provide a way for users to restore them. (You implement the restoreCompletedTransactions method in Store Kit to do so).”

To restore previously purchased In-App Purchase products, it would be appropriate to provide a “Restore” button and initiate the restore process when the “Restore” button is tapped by the user.

For more information on restoring In-App Purchases, see the section, Restoring Transactions, in the In-App Purchase Programming Guide.

Yes, you need a separate restore button. Check out the InAppPurchase sample code for an example.

Yes, you need a separate restore button. Check out the InAppPurchase sample code for an example.