I'm trying to use this method from RMStore
- (void)downloadContentForTransaction:(SKPaymentTransaction*)transaction
success:(void (^)())successBlock
progress:(void (^)(float progress))progressBlock
failure:(void (^)(NSError *error))failureBlock;
but I don't understand how to use it. Can anyone show me an example?
Update:
When I select method from autocomplete list, it don't create blocks automatically
like usual:
When I try to open it manually I got errors
From the RMStore readme:
In short,
downloadContentForTransaction:success:progress:failure:
is part of a protocol you need to implement, not call.I should add that if you're using Apple hosted content, RMStore will take care of it automatically. Again, from the readme: