Vladislav Yarmak
Vladislav Yarmak

Reputation: 125

IAP iOS App. How can I make a paid function only for new users but keep for free for users who already dowloaded paid app?

I have my app on App Store for 2.99 but now I want to make it for free and add one paid function inside (IAP for 2.99). Is it possible to keep this function for users who already bought my app on App Store for free after app update? Only new users have available IAP, for previous nothing changed.

Upvotes: 0

Views: 82

Answers (1)

Andrea
Andrea

Reputation: 259

You can access to the app version with this code:

Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString")

and enable the feature with logic you want based on the app version and user profile.

Upvotes: 1

Related Questions