★ TouchArcade needs your help. Click here to support us on Patreon.

Unhappy In App Purchase - Help on Last stage - downloading content

08-17-2013, 05:19 PM
Joined: Aug 2013
Posts: 1
Unhappy In App Purchase - Help on Last stage - downloading content

i have successfully implemented IAP into my app however i am having a problem figuring out where the user is supposed to find the purchased content after they pay.

Using my test account when i click the buy button, it marks the IAP with a tick as if to show that its bought but then from there i cant find the content...

Can someone assist me as to what i need to add to my code and storyboard so the user is able to access their purchased content.... (The content will be several short videos available to the user through IAP)

From what i have read through all the tutorials, i think the code im missing is this:

-(void)paymentQueueSKPaymentQueue *)queue updatedDownloadsNSArray *)downloads
for (SKDownload *download in downloads)
switch (download.downloadState) {
case SKDownloadStateActive:
NSLog(@"Download progress = %f",
NSLog(@"Download time = %f",
case SKDownloadStateFinished:
// Download is complete. Content file URL is at
// path referenced by download.contentURL. Move
// it somewhere safe, unpack it and give the user
// access to it

However i also need a method to transfer the completed downloads back into the app and then link a view controller to those downloads/purchased content (How do i do this?)

Last edited by iamDeondrae; 08-17-2013 at 05:21 PM.