Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 589323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:24:44+00:00 2026-05-13T15:24:44+00:00

I am working on in-app purchase. In my application we added the following code

  • 0

I am working on in-app purchase. In my application we added the following code in appdelegate:

    #import "InappPurchaseAppDelegate.h"
    #import "MainController.h"
    #import "MKStoreManager.h"
    #import "MKStoreObserver.h"

    @implementation InappPurchaseAppDelegate

    @synthesize window;


    - (void)applicationDidFinishLaunching:(UIApplication *)application 
    { 
      [MKStoreManager sharedManager];


      navigationController = [[UINavigationController alloc] init];
      [window addSubview:navigationController.view];
      MainController *frontController =[[MainController alloc] init];
      [navigationController pushViewController:frontController animated:NO ];
      [frontController release];    // Override point for customization after      application launch
      [window makeKeyAndVisible];
    }

and added the following code in our controller:

    #import "MainController.h"
    #import "MKStoreManager.h"
    #import "MKStoreObserver.h"

    #import "InappPurchaseAppDelegate.h"


    @implementation MainController


    -(IBAction)InappPurchase:(id)sender
    {
      [[MKStoreManager sharedManager] buyFeatureA];

    }

I also added storekit framework but when the button is clicked nothing happens.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:24:44+00:00Added an answer on May 13, 2026 at 3:24 pm

    All you need to know is here: http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Overview%20of%20the%20Store%20Kit%20API/OverviewoftheStoreKitAPI.html#//apple_ref/doc/uid/TP40008267-CH100-SW1

    It shouldn’t take you more than half a day to implement it (maybe a bit more if the content resides on your servers and is not already in the bundle).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented In App Purchase in one of the existing application, it's working
My Application is live on app store and working In App Purchase. In App
I have been working on integrating Apple's example code for In-App Purchase Receipt Validation
I am new to In-App purchase feature in iOS. I am working on an
i am working inapp-purchase project and first time for creating inapp-purchase in new app
I am trying to put In App purchase in my application. I had setup
I have created in-app purchase for non-consumable object application in iPhone using with store
I have a working piece of code in the application delegate that contains a
I have developed iphone app with working In App Purchase. Now I want to
I am working on Google In-app purchase for an app. I have created a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.