문제

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