iPhone app free and paid
I have almost finished my iPhone app and would like to send it in for approval. However, I would like to make this available as a free开发者_如何转开发 app, as well as a paid app. In the free version, advertisements will show up, and in the paid version, advertisements will not show up.
My question is, to create a free app and a paid app, do I need to create two similar projects in Xcode, and for one, add the code for advertisements to appear?
You could use an in-app purchase to buy the full version and remove the ads. This way users won't have to download your app again.
See the in-app purchase programming guide for more info.
Yes. You need to have two seperate versions, one with space for ads, and one without. In many cases, the paid version will have extra features, in addition to the lack of ads. In your case, it doesn't sound like you have extra features, so the two versions should be very similar.
The easiest way will be to copy the target, get a second appID, probably with a "Free" or a "Pro" tacked on the end, then try to make one a very finely different, IE. including a header that defines a single value kFreeVersion
, or something. then use that to define your logic.
so you don't end up having to maintain 2 branches.
Yes, you'll need to create two separate products. If you spend a little time looking around in the app store, you'll notice that many apps have free and paid versions; sometimes the free versions have the word "Free" in their title; sometimes the paid versions have "Pro" or something like that.
精彩评论