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