Reputation: 125
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
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