iphone - Help me on StoreKit Implementation -
i trying create app going charge $1 sending digital photo.
i want charge user when clicks send e-photo button.
and created test application on itunes connect , set necessary configurations , created in app purchase….
now want create coding part ( storekit ) interacts store…
can please show code can me try above scenerio
thanks time
update 1
// // inapppurchasetestingviewcontroller.h // inapppurchasetesting // #import <uikit/uikit.h> #import <storekit/storekit.h> @interface inapppurchasetestingviewcontroller : uiviewcontroller { } @end // // inapppurchasetestingviewcontroller.m // inapppurchasetesting #import "inapppurchasetestingviewcontroller.h" @implementation inapppurchasetestingviewcontroller - (void)viewdidload { nslog(@"view loaded"); if ([skpaymentqueue canmakepayments]) { nslog(@"can make payments"); } else { nslog(@"cannot make payments"); } [super viewdidload]; }
this code have now...
can pls show me code how connect appstore...
you should read through in app purchase programming guide , read related "see also" documentation. after reading through documentation, if have specific question that's not working way expect or understand work, should return , ask more specific question (hopefully code samples of own) can you.
apple doesn't provide full code samples storekit, documentation pretty thorough , after reading, googling storekit hits on numerous blogs walking through process step-by-step.
Comments
Post a Comment