Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials > Tutorial Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 01-19-2012, 11:50 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2010
Location: Lincoln NE
Posts: 229
Thompson22 is on a distinguished road
Default Anyone help with IAP tutorial?

Hey guys I am trying to figure out this IAP tutorial I would like to just make one simple app with my content instead of flooding the app store with a lot of smaller apps.

Introduction to In-App Purchases | Ray Wenderlich

I have been going through this tutorial, I just need someone to help me after the person clicks the check to purchase and the transaction goes through I want it to take them to a new view controller could anyone help me with this?

Thanks in advance
Thompson22 is offline   Reply With Quote
Old 01-19-2012, 06:35 PM   #2 (permalink)
Just helping out.
 
Domele's Avatar
 
Join Date: Feb 2011
Posts: 2,569
Domele is on a distinguished road
Default

Have you taken a look at MKStoreKit? It simplifies a lot of things. https://github.com/MugunthKumar/MKStoreKit
__________________
If you are looking for a quality developer, I'm your man. Give me a PM if you are interested.

New app - See screenshots and details at www.globaclock.com.

If you want to thank me, click the link. Every click counts. If you want to do more, buy my app. A link is available on my website. Thanks.
Domele is offline   Reply With Quote
Old 01-19-2012, 09:21 PM   #3 (permalink)
Registered Member
 
mediaspree's Avatar
 
Join Date: Sep 2011
Posts: 181
mediaspree is on a distinguished road
Default

Thats a great tutorial. I've used it for adding IAP in my apps.

It should be easy enough to push a new view onto your navigation controller in the method completeTransaction in IAPHelper.m (I've added the bold part) (something like this...)

- (void)completeTransactionSKPaymentTransaction *)transaction {

NSLog(@"completeTransaction...");

[self recordTransaction: transaction];
[self provideContent: transaction.payment.productIdentifier];
[[SKPaymentQueue defaultQueue] finishTransaction: transaction];

myNewViewController *myNewView = [[myNewViewController alloc] initWithNibName:@"myNewViewController" bundle:nil];

[self.navigationController pushViewController:myNewView animated:YES];

}

Last edited by mediaspree; 01-19-2012 at 09:27 PM.
mediaspree is online now   Reply With Quote
Old 04-18-2012, 07:41 AM   #4 (permalink)
Registered Member
 
Join Date: Apr 2012
Posts: 1
bevehinds is on a distinguished road
Default

Guys, can anyone explain to me what is IAP, is it important and why it should be added in to the apps? Thanx in advance.
bevehinds is offline   Reply With Quote
Old 04-23-2012, 12:43 AM   #5 (permalink)
Just helping out.
 
Domele's Avatar
 
Join Date: Feb 2011
Posts: 2,569
Domele is on a distinguished road
Default

IAP stands for In App Purchasing. It allows you to enable users to purchase extra features or content inside your app. It doesn't really have an important rating because it's something that you either use or you don't.
__________________
If you are looking for a quality developer, I'm your man. Give me a PM if you are interested.

New app - See screenshots and details at www.globaclock.com.

If you want to thank me, click the link. Every click counts. If you want to do more, buy my app. A link is available on my website. Thanks.
Domele is offline   Reply With Quote
Old 04-23-2012, 09:59 AM   #6 (permalink)
almostfunnydev
iPhone Dev SDK Supporter
 
rocotilos's Avatar
 
Join Date: Oct 2009
Age: 34
Posts: 3,015
rocotilos is on a distinguished road
Default

Just to give another option for implementing an IAP.

XCode Tutorials: How To: Implement In App Purchase The Easy Way, Ever.
rocotilos is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 175,696
Threads: 94,139
Posts: 402,961
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasper_muc
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:00 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0