NWTXTRecord dictionary keys are lowercased in iOS 17, on iOS Simulator and the device.
Records returned by NWBrowser in the listener block:
browser.browseResultsChangedHandler = { result, changes in
metadata : ["dvty": “AppName”, "txtvers": "1", "dbid": "50BFB79F"]
But the actual keys are: "DvTy", "DbId".
So, in iOS 17 all keys were lowercased, but not in any previous versions. And if in the app we were looking for “DvTy” key, nil is returned. The existing app simply stopped working properly in the first iOS 17 betas.
Is it a bug or the app should be updated now to check for lowercased keys always?
FB12309561
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Is it possible to have a submenu with .multicolor rendered icon? It works for Menu itself, but not for submenu.
It also works fine in UIKit with UIMenu as a submenu.
var body: some View {
Menu {
Menu {
Text("test")
} label: {
Label {
Text("Color Label submenu")
} icon: {
Image(systemName: "circle.hexagongrid.fill")
.symbolRenderingMode(.multicolor)
}
}
} label: {
Label {
Text("Color Label")
} icon: {
Image(systemName: "circle.hexagongrid.fill")
.symbolRenderingMode(.multicolor)
}
}
}
}