- The Favorite Songs playlist might take a while to appear on some iOS/iPadOS, watchOS, and tvOS devices. (117219873)
Workaround: Add a single song to your Apple Music library and the Favorite Songs playlist should appear within a few minutes.
- New pricing properties price, currency, and currencyCode are now available on Transaction. If an offer was applied to the transaction, a new property offer is available to see information about it (id, type, payment mode), as well as convenience properties offerID, offerType, and offerPaymentMode. (106650768)
Use _logChanges() to log causes of SwiftUI view updates.
Call the new debugging method `_logChanges()` in the body of a SwiftUI view to
log information about why the system is updating the view. For example:
struct MyView: View {
var body: some View {
#if DEBUG
let _ = Self._logChanges()
#endif
// … rest of view body …
}
}
As well as the physical property names, “@self” marks that the view value itself has changed, and “@identity” marks that the identity of the view has changed (that is, that the persistent data associated with the view has been recycled for a new instance of the same type).
The new `_logChanges()` method is like the existing `_printChanges()` one,
except that the new method uses the system console, which is useful in some debugging workflows.
Calls to `_logChanges()` log at the info level to the "com.apple.SwiftUI"
subsystem with the category “Changed Body Properties”. (113352555)
- Fixed: Resolved a possible Swift access conflict crash that could occur with toolbar items. (113992797)