iphone - Following Ray Wenderlich's In App Purchase Tutorial, how do i implement logic to check if a product was purchased -
his tutorial introduction in app purchases http://www.raywenderlich.com/21081/introduction-to-in-app-purchases-in-ios-6-tutorial
how can check if purchased? want check if-statement. so, when "this" bought, , on. can't figure out write if-statement life of me.
can please answer question explicitly? have seen posted in few different places none of answers straightforward enough complete novice myself comprehend. found exact same question here answer made no sense me check product user bought on in-app purchase
specifically, code part
"the resources zip tutorial contain images of the comics, if you’re inclined can wrap showing comic in new view controller when purchased row tapped! if want this, can check if productidentifier in purchasedproducts array of inapprageiaphelper before allowing user access content."
i have working perfect tutorial, dont know how use it.
i have main menu view controller has 3 buttons. want disable 2 of buttons default, if user has purchased respective products, want enable buttons. know has nsuserdefaults dense , not able understand lot of implicit answers people give question. if spell out me grateful.
thank you
Comments
Post a Comment