On iOS, SKDownload
has
@property(nonatomic, readonly) SKPaymentTransaction *transaction
which conveniently allows to finish a Transaction whenever a hosted content has been downloaded.
On the Mac though, SKDownload
doesn't have that, so I find myself having to browse the SKPaymentQueue
and look for that transaction having that download.
Any of you doing so?
The problem is that sometimes I won't reach the "finishTransaction" code, but I don't really know how to finish that transaction otherwise! On iOS it's easy, since I just finish the transaction associated to the download.
To sum up, it would be great to know how to finish transactions with downloads on Mac. Does it happen implicitly?