ljm5000 / JMIAP

App Store, In-App Purchase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JMIAP

App Store, In-App Purchase

Usage:

Step 1

#import "JMPayManager.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
    ...
    
    [[JMPayManager shareInstance] activate];
    
    ...
}

Step 2

#import "JMPayManager.h"
[[JMPayManager shareInstance] setResultBlock:^(JMPAYMENT_STATUS status) {
   
    NSLog(@"%ld",status);
}];

Step 3

 [[JMPayManager shareInstance] beginBuyProduct:@"com.jimmy.tes1.pay1" andCount:10];

About

App Store, In-App Purchase


Languages

Language:Objective-C 100.0%