I am creating an application which will expire after some particular time limit. means user can’t access it’s methods and user should buy or register it’s downloaded application. user can open application but after some time limit user can’t use application functionality.
Is this possible?
I am creating an application which will expire after some particular time limit. means
Share
First of all:
Apple would not reject your application if you use any of the function which is not listed in its private API.
So if you want to block your application after a specific time, You can implement it logically.
For this Once your application is downloaded in a device, Store the current time & date in Your Application Preferences (User Defaults). Although in this option If user will remove the application & re-install the application the preferences will reset.
So There are various places which is not removed till the iOS device is not reset (Like Keychain). Apple provides methods to store Data in keychain.
Next is what you have to do is Each time when user open your application, You need to check the current time with the Stored time in App.
If it validates your limit, You can Let user use the application or Throw an Alert & Do whatever action you want.
I hope it may helpful for you.