我有一个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;
}];
答案 0 :(得分:-1)
你是否关注这篇文章? http://blog.mugunthkumar.com/coding/using-mkstorekit-in-your-apps/
我认为您尚未注册购买。