我想在有人在我的应用程序中进行应用程序内购买时收到通知,而不是等到第二天检查iTunes Connect以查看是否有任何销售.
有谁知道这样做的方法?如果没有,那真的很酷!
谢谢
一旦非消费品"删除广告"应用内购买,我该如何隐藏iAd横幅?根据本教程,我不太确定如何做到这一点或在哪里做到这一点.
任何帮助将不胜感激!
谢谢
ViewController.h
#import <UIKit/UIKit.h>
#import <StoreKit/StoreKit.h>
#import <CoreMotion/CoreMotion.h>
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MapKit.h>
@interface ViewController : UIViewController <UIWebViewDelegate, MKMapViewDelegate, CLLocationManagerDelegate>
@property (strong, nonatomic) IBOutlet UIWebView *viewWeb;
@property (nonatomic, strong) CLLocationManager *locationManager;
@property (nonatomic, strong) CLLocation *currentLocation;
@property (weak, nonatomic) IBOutlet UIImageView *PokeABowlAd;
@end
Run Code Online (Sandbox Code Playgroud)
ViewController.m:
#define SHOW_ADS_KEY @"Show Ads Key"
#define k_Save @"Saveitem"
#import "ViewController.h"
#import <AVFoundation/AVFoundation.h>
@interface ViewController () <UITextViewDelegate>
@end
@implementation ViewController
@synthesize viewWeb;
- (void)viewDidLoad {
[super viewDidLoad];
UIBarButtonItem *backButtonItem = [[UIBarButtonItem alloc] …Run Code Online (Sandbox Code Playgroud)