Post

Replies

Boosts

Views

Activity

[PHPhotoLibrary requestAuthorizationForAccessLevel:] not callback
environment: iPhone11 & iPhone8p;iOS14 beta4 Steps to reproduce: Uninstall the app Reinstall Call [PHPhotoLibrary requestAuthorizationForAccessLevel:] or [PHPhotoLibrary requestAuthorization] Choose limited,then system present a picker Scroll down to collapse then picker The function called in the third step has no callback Continue to call the requestAuthorizationForAccessLevel: or requestAuthorization,no callback
1
0
527
Aug ’20
SKErrorUnknown when payment successful
The app get fail result from the StoreKit for reason SKErrorUnknown, but the user's bill does have this record. How this happen, and what can i do to avoid it?This is user’s bill screenshotThis is my log2017/11/28 09:53:52:273 beginPay productIdentifier:CNY12_NONRENEWING2 —— marked [[SKPaymentQueue defaultQueue] addPayment:payment]2017/11/28 09:53:52:273 in payment productIdentifier:CNY12_NONRENEWING2 orderNumber:TBUY201711288664852 —— marked paymentQueue:updatedTransactions with transaction.transactionState is SKPaymentTransactionStatePurchasing or SKPaymentTransactionStateDeferred2017/11/28 09:57:12:450 fail to pay productIdentifier:CNY12_NONRENEWING2 orderNumber:TBUY201711288664852 —— marked paymentQueue:updatedTransactions with transaction.transactionState is SKPaymentTransactionStateFailed2017/11/28 09:57:12:450 fail reason:SKErrorUnknown productIdentifier:CNY12_NONRENEWING2 orderNumber:TBUY201711288664852 —— marked in paymentQueue:updatedTransactions, transaction.error.code == SKErrorUnknown
2
0
980
Nov ’17