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
Post a Comment