我有一个 iphone 应用程序,我正在尝试使用 mkstorekit 4.1 实现订阅。除了这段代码之外,一切都很好。我成功地添加了订阅的视图。但它根本没有被调用。有人可以帮助我吗?
[[MKStoreManager sharedManager] buyFeature:kFeatureAId onComplete:^(NSString* purchasedFeature)
{
//isPurchased = YES;
NSLog(@"Purchased: in commmmpletion %@", purchasedFeature);
[self showsubscribedview];
} onCancelled:^ {
//purchas = YES;
NSLog(@" User Cancelled Transaction");
return;
}];