2
我有一個iphone應用程序,我試圖用mkstorekit實現訂閱4.1。一切工作正常,除了這個代碼。我成功添加了訂閱視圖。但它根本沒有被調用。有人能幫助我嗎?MKStoreKit4.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;
}];
雅,我沒有。當我去下一個標籤,然後回來我測試 – hacker 2012-04-13 10:42:09
如果([MKStoreManager sharedManager] isSubscriptionActive:kFeatureAId]){//解鎖我 \t //的NSLog(@「,從出現%@ 「,[[MKStoreManager sharedManager] isSubscriptionActive:kFeatureAId]); [self showsubscribedview]; \t } 這樣的,它是在那個時候 – hacker 2012-04-13 10:42:47
但不幸的是,當我在設備正在測試它不getting.when ahowing正確的觀點我來到了這個觀點是展示退訂視圖中的每個時間。但我我試圖購買它顯示我已經訂閱這個 – hacker 2012-04-13 10:44:57