background - iPhone: Since when did SKPaymentQueue addPayment trigger the applicationWillResignActive callback? -
did miss information in documentation? going mad?? i'm debugging payment issues , have discovered following code triggering our applicationwillresignactive callback in app delegate.
skpayment *payment = [skpayment paymentwithproductidentifier:productid]; [[skpaymentqueue defaultqueue] addpayment:payment];
this happening on ios3 makes me think has been behaviour, haven't noticed because didn't implement applicationwillresignactive callback before ...
is itunes storekit meant do? can't find official reference anywhere?
indeed, see nothing in docs app resigning when payment added, can confirm happens me well. don't implement applicationwillresignactive:
or applicationdidbecomeactive:
, tossed them in see if triggered, , sure enough, do.
Comments
Post a Comment