ios - AppStore authorization alert -


i have app inapp purchases. happens , ios asks user authorize in appstore. authorization alert appears @ moment. happens app closed! suggest, alert due purchase fail. if enter apple id nothing happens. solve problem want know events give rise appstore authorization alert?

i don't install in-app purchases more, think solved adding following appledelegate , other viewcontrollers.

[[skpaymentqueue defaultqueue] addtransactionobserver:self];

like...

- (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions {     [[skpaymentqueue defaultqueue] addtransactionobserver:self]; } 

Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -