How to check if the user is already subscribed in my iphone application

advertisements

i try to make auto Auto-Renewable Subscriptions ,

who can i check if the user is active or not ?

please help ?


Follow this guide from Apple on Verifying an Auto-renewable Subscription Receipts.

Basically you verify a receipt with Apple's servers and they'll respond with info about that receipt including expires_date. You can use that date to tell whether a user's subscription is current. Apple will also respond with the latest_receipt if there has been a renewal since the receipt you submitted. You can not however determine if the user has turned off auto-renewal until the term of the subscription ends, and either it renews or it doesn't.