0

I am new to in app purchase concept of apple. I am developing an application which displays videos from a server. All videos are charged, to pay for a particular video I am thinking of implementing the in app purchase(I dont know whether this can be done any other way).

This is how I am trying to implement it. When user pays for a video he will get the url for that particular video and he can then download that video and watch it. here is my doubt do I need to add all the video urls to app store before it can be made available for in app purchase?

Is there any way that the urls are kept on my server and once payment confirmation is obtained I can make that url visible to the user?

I have goe through these tutorials Tutorial1 and Tutorial2

Can some one please help me? How can I do this properly in ios? Thanks

4

1 回答 1

0

That's right, you can let user select a video, and when you get SKPaymentTransactionStatePurchased, provide him a link from your server. After that, just finishTransaction. You can also update a list of videos dynamicly from your server before showing to the user.

于 2012-04-22T20:45:32.323 回答