MKStoreKit4.1购买功能什么都不做?

时间:2012-04-13 08:28:42

标签: iphone in-app-purchase subscription

我有一个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; 

    }];

1 个答案:

答案 0 :(得分:-1)

你是否关注这篇文章? http://blog.mugunthkumar.com/coding/using-mkstorekit-in-your-apps/

我认为您尚未注册购买。