We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// 若内存中没有,网络获取 NSSet *set = [[NSSet alloc] initWithArray:@[identifier]]; [self requestProducts:set success:^(NSArray *products, NSArray *invalidProductIdentifiers) { if (products.count > 0) { if (success) { success(products.firstObject); } } } failure:failure]; 在products.count == 0 的情况
The text was updated successfully, but these errors were encountered:
这个自己补充else走失败回调
Sorry, something went wrong.
No branches or pull requests
// 若内存中没有,网络获取
NSSet *set = [[NSSet alloc] initWithArray:@[identifier]];
[self requestProducts:set
success:^(NSArray *products, NSArray *invalidProductIdentifiers)
{
if (products.count > 0) {
if (success) {
success(products.firstObject);
}
}
} failure:failure];
在products.count == 0 的情况
The text was updated successfully, but these errors were encountered: