In-App Purchase with an IBAction / Button

前端 未结 3 1515
暖寄归人
暖寄归人 2020-12-17 06:25

I\'m using Ray Wenderlich tutorial to create IAP (http://www.raywenderlich.com/23266/) , everything works well, but I don\'t want to use table view on my app, I want to use

3条回答
  •  甜味超标
    2020-12-17 07:17

    paymentWithProduct: expects an SKProduct * argument and you are passing an NSString. You need to get your product out of your _products array and pass that instead.

提交回复
热议问题