I need to implement trail period in my app. How to do it? Store day count in NSDefault? or some other?
-
7There's an easy way to do this. All you have to do is change the *Please pay me $10 to see the rest of this comment.* – Mark Byers Dec 06 '09 at 22:59
-
I voted you up for being a smart ass, wow. I am ashamed – Matt S. Dec 07 '09 at 00:05
4 Answers
You could store a counter in the preferences as you mention, although that counter would disappear if the user reset their phone.
However, I think it's all slightly besides the point. In general, Apple frowns upon apps that have this kind of functionality, so don't be surprised if your app gets rejected. Consider launching two different versions of your app instead, a "Lite" app and a "Full" app. The Lite app should have a reduced feature set, but it should never stop working.

- 27,575
- 16
- 91
- 128
-
Apple would recommend against the Lite/Full versions and would instead encourage unlocking features via in-app purchase, since that is now available in free apps. – bpapa Dec 07 '09 at 05:57
-
But that's not possible if you want your app to run on 2.x, which is still a valid concern for many developers. – Shaggy Frog Dec 07 '09 at 07:02
-
Apparently it's okay now: http://stackoverflow.com/questions/11058401/free-iphone-app-with-trial-chat-period-and-subsequent-subscription. – JohnK Jul 01 '13 at 19:03
Apple is against the idea of you disabling features to prompt people to pay money for something. Your app needs to be fully functional and a 'lite' version and a paid version seems to be how things work at the moment.
That being said - if you implemented it properly you could add in app purchase items to enhance your app. Your original 'lite' app could be $0 and additional features can be added for a fee.

- 12,320
- 3
- 50
- 63
The most bullet-proof method would be to send and maintain a copy of the iPhone's UUID in a database.
Then if the App is not "unlocked" it requires a "key" form the database every time it launches. You can then implement the trial period on the server side.
However, if you decide to use some type of encryption to store or transmit keys etc you will need a licence to distribute the App.

- 25,607
- 27
- 108
- 188
You make a light version of your app. There is no official way to have a trial version at this time. Hopefully Apple will eventually address the need, but I can't say I would hold my breath...

- 817
- 1
- 5
- 11