views:

162

answers:

5

Hey,

i just got rejected on my Free app from appstore. I uploaded 3 apps, HD(iPad), PayedIphone and freeiphone. In the free-version i had a link to the fullversion. Appearently i need inAppPurchase in the free-version rather than linking to the fullversion.

How should i implement this in the easiest way? All i want is a button that says Buy full version and then the free-version becomes the fullversion. Is it possible to use just those two or do i need to create another fullversion for this purpose.

I have no idea how to make the inAppPurchase except the tutorials google give me, any recommendations or example code i can use?

Thanks alot!

//Joakim

+1  A: 

No way. The proper way to do that is to include all the functionality of the fill version in the free version and only unlock those functionalities whenever the user buy your inApp purchase item.

start by attentively (details really matters when inApp purchase is concerned) reading the inApp purchase developer guide at developer.apple.com

VdesmedT
That's actually already done! The free version contains all the functionality. So i should have a variable that indicates if the app has been bought or not? Depending on that variable add or lock functionality? The variable has to be saved in memory between programstarts aswell i guess, NSUserDefaults is ok?
Joakim Börjesson
you can either put in userdefaults . The best one to use is the nsuserdefaults if its just a single variable
Nareshkumar
+3  A: 

I found this site very helpful in setting up an in-App purchase:

http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/

frandogger
+1: That's another very good resource!
iWasRobbed
+1  A: 
iWasRobbed
A: 

I got it working after watching this tutorial on u-tube. I can really recommend it. http://www.youtube.com/watch?v=xGDGO5P95Dg

Joakim Börjesson