I used this tutorial How do you add an in-app purchase to an iOS application? for SKPayment (verbatim) and I am having trouble linking the purchase buttons on my storyboard to my code.
- (IBAction)purchase:(SKProduct *)product{
I keep getting the following error.
[UIButton productIdentifier]: unrecognized selector sent to instance 0x7ffa08cfbe90
I understand that the tutorial uses a xib file but I am using a storyboard file for my game to link the buttons. Can somebody please tell me how I would link my purchase button in my storyboard to the
- (IBAction)purchase:(SKProduct *)product{
code without getting an unrecognized selector error?