Question

I've just added InApp downloads via SKStoreProductViewController. I'm wondering if there is a way I can get the download status of the item that is being downloaded. I would ideally like to monitor the download and when it is complete, I would like to execute some code.

I've looked through the documentation but there's nothing listed on there. Does anyone have any ideas?

Était-ce utile?

La solution

You can't do that. You don't even get notified if the user has chosen to install the item.

It's very unfortunate.

Autres conseils

A little bit dirty, but if you are trying to download one of your own apps, you can put customs url on them, and then loop with

- (BOOL)canOpenURL:(NSURL *)url

and when it will return you "true", it means that your application has been installed.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top