English 中文(简体)
购买相关物品
原标题:In App purchase Related things
  • 时间:2011-10-13 12:00:28
  •  标签:
  • iphone

I am new in application and am doing in app purchase in my application. There are lots of videos coming from the server side according to their two different prices.

So what can i do for this?

我的问题是,我不得不为每个录像制作这么多的产品ids,还是有不同的方式?

问题回答

Yes, you have to create the product id for every product you wish to put on the app store. Apple checks each and every purchase made by the user on the basis of the product id you create on iTunes Connect.

如果所有录像都价格相同,那么,你只能在那里增加一个物品,并随时展示这个物品,并在那里进行交易。

你们必须为所有产品创造产品补贴,因此每部录像都需要两部产品补贴。

重要的是要记住,如果我用自己的照片购买录像,那么我就能够删除该照片,并重新安装该照片,并将录像带上免费的录像,因此,联合国网播将承认我已经购买了该录像并免费给我。

只有当每个产品都有独特的补贴时,才有可能这样做,因此,没有办法。

我这样做了: 我必须购买100多件物品,当用户利用两件物品时,我只拿一个记号的身份证,把费用乘以计票。 当你不得不购买一只产品时,就忘记了这一产品的价值和价格。 它为我工作时有简单的逻辑。

(void)requestProductData {
SKProductsRequest *request = [[SKProductsRequest alloc] initWithProductIdentifiers:[NSSet setWithObjects: @"com.Image.image3", nil]];
request.delegate = self;
[request start];
//[request release];
}
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response {


if([response.products count] > 0) {
SKProduct *productData = (SKProduct *)[response.products objectAtIndex:0];
NSInteger nQty = [appDelegate.arrSelImages count];
SKMutablePayment *myPayment = [SKMutablePayment paymentWithProduct:productData];
myPayment.quantity = nQty;
[[SKPaymentQueue defaultQueue] addPayment:myPayment];
}
else {
[self removeLoadingView];
}
[request release];

}




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签