質問

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?

役に立ちましたか?

解決

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

It's very unfortunate.

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top