Posts

Post not yet marked as solved
0 Replies
374 Views
Hi, After the new purchasing regulation (PSD2), we are finding users who have been charged for the package they are in the process of purchasing, but never get the status of purchased in func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]). We know this because we have our own log system with our backend, and we only see the status purchasing and failed with error unknown. What is going on with the this, how is this possible? Regards, Luis Martínez
Posted Last updated
.
Post not yet marked as solved
0 Replies
384 Views
Hello,I think I just found a bug in iOS13, when setting a readable AVMediaSelectionOption.Due to the flow that we follow in our app, in first instances we set nil to the readable .mediaSelectionGroup.The problem comes when trying to recover the value of selectedMediaOption for the previous group.In iOS13 it always returns the first mediaSelection that has the AVAsset. In below versions it returns nil, which is what it should be.I have checked if the AVMediaSelectionGroup has the value of allowsEmptySelection a true and is correct.I add an example:guard let item = avPlayer.currentItem, let mediaSelectionGroup = item.asset.mediaSelectionGroup(forMediaCharacteristic: .legible) else { return -1 } // Set nil for empty subtitle. item.select(nil, in: mediaSelectionGroup) // Get the current subtitle selected. It must be nil. let selected = item.currentMediaSelection.selectedMediaOption(in: mediaSelectionGroup)With that example, selected var must be nil. In iOS13, selected var is the subtitle mediaSelectionGroup that has the AVAsset, in below versions for iOS the value is nil. What could be happening?Best regards
Posted Last updated
.