更正v1.3
This commit is contained in:
parent
af1d9644a7
commit
31cc0aea96
Binary file not shown.
@ -659,10 +659,10 @@
|
||||
filePath = "SwiftProject/CCKit/SKUPay/SKUPay.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "182"
|
||||
endingLineNumber = "182"
|
||||
landmarkName = "paymentQueueRestoreCompletedTransactionsFinished(_:)"
|
||||
landmarkType = "7">
|
||||
startingLineNumber = "185"
|
||||
endingLineNumber = "185"
|
||||
landmarkName = "SKUPay"
|
||||
landmarkType = "3">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
@ -675,8 +675,8 @@
|
||||
filePath = "SwiftProject/CCKit/SKUPay/SKUPay.swift"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "149"
|
||||
endingLineNumber = "149"
|
||||
startingLineNumber = "152"
|
||||
endingLineNumber = "152"
|
||||
landmarkName = "paymentQueue(_:updatedTransactions:)"
|
||||
landmarkType = "7">
|
||||
</BreakpointContent>
|
||||
|
||||
@ -110,12 +110,15 @@ class SKUPay:NSObject, SKRequestDelegate,SKProductsRequestDelegate,SKPaymentTran
|
||||
|
||||
//是否显示加载信息...
|
||||
func showToast(value:Bool) {
|
||||
if value {
|
||||
SVProgressHUD.show(withStatus: NSLocalizedString("支付中...", comment: ""))
|
||||
}
|
||||
else {
|
||||
SVProgressHUD.dismiss()
|
||||
DispatchQueue.main.async {
|
||||
if value {
|
||||
SVProgressHUD.show(withStatus: NSLocalizedString("支付中...", comment: ""))
|
||||
}
|
||||
else {
|
||||
SVProgressHUD.dismiss()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -157,7 +160,7 @@ class SKUPay:NSObject, SKRequestDelegate,SKProductsRequestDelegate,SKPaymentTran
|
||||
print("updatedTransactions ..\(spt)")
|
||||
}
|
||||
}
|
||||
|
||||
showToast(value: false)
|
||||
print("updatedTransactions ..")
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user