iAP中的小问题

Your application url an http://developer.apple.com/library/ios/documentation/StoreKit/Reference/SKProductsRequest/Reference/Reference.html#//apple_ref/occ/cl/SKProductsRequest object and url it with a set of product identifiers for the items you wish to sell, attaches a %url%to the request, and then starts it. The response holds the localized product information for all valid product identifiers.

SKProductsRequest *request= initWithProductIdentifiers:
kMyFeatureIdentifier]];
request.delegate = self;
;

上面这段话与示例代码都是iAP文档里面的,上面我用红色标出的那个object,我就不明白了,文档里都没说这个object应该是什么类型,那要是我随便定义一个什么结构的对象,然后发送到app store,它怎么知道对象里面,哪个地方是那个purchase item 的ID string之类的啊。。。所以我想问问,这个地方的对象应该怎么定义{:soso_e132:}

— Begin quote from ____

ccwccy 发表于 2013-5-14 20:56 url

这里好像是要设置ProductID,就是In-App Purchases那边你配置的商品对应的ID

— End quote

嗯,这个地方是应该设置ProductID,但是我就是不清楚这个ProductID是应该以什么样的数据格式去发送,后来看到网上的示例代码才知道,这个应该用NSString来吧这个productID发出去。。。

这里好像是要设置ProductID,就是In-App Purchases那边你配置的商品对应的ID

这里好像是要设置ProductID,就是In-App Purchases那边你配置的商品对应的ID