如果您正在寻找一份手把手教你实现IAP的教程的话,这篇文章不是您的菜。关于IAP的实现和步骤,可以参考下面的教程:
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction.html
和相应的
https://developer.apple.com/library/mac/technotes/tn2259/_index.html
Ray Wenderlich的
iOS 6 IAP教程
http://www.raywenderlich.com/23266/in-app-purchases-in-ios-6-tutorial-consumables-and-receipt-validation
一篇图文并茂的
中文教程
http://blog.csdn.net/u012907783/article/details/53489207
直接使用大神们封好的Store有关的库,比如
mattt/CargoBay,
https://github.com/mattt/CargoBay
https://github.com/robotmedia/RMStore
或者
MugunthKumar/MKStoreKit。推荐前两个,因为MKStoreKit有一些恼人的小bug。