Hi,I sure did. Here's my socket setup. Still prints the warning in the console. init(port: UInt16) {
self.port = NWEndpoint.Port(rawValue: port)!
parameters = NWParameters(tls: nil)
parameters.allowLocalEndpointReuse = true
parameters.includePeerToPeer = true
let wsOptions = NWProtocolWebSocket.Options()
wsOptions.autoReplyPing = true
parameters.defaultProtocolStack.applicationProtocols.insert(wsOptions, at: 0)
listener = try! NWListener(using: parameters, on: self.port)
}
Post
Replies
Boosts
Views
Activity
Have you come up with a workaround? I feel like this is a major drawback with SwiftUI and hope to see Apple address it.
I don’t understand why we can’t have multiple Alerts in separate views. Apple is encouraging us to use separate views and components, but it becomes a mess when we have to glue them together due to limitations like this one.
I have the same issue. I don't want the user to hide the sidebar but can't figure a way to always keep it visible.
Same issue here on my M1 Mac mini. Works when testing under Rosetta. Super lame Apple!
This new feature completely broke my app - which is a WKWebView with a large canvas. Performance is incredibly slow renders the app useless. Worked great in iOS 14..
How can we disable this setting in a WKWebView?
This new feature completely broke my app - which is a WKWebView with a large canvas. Performance is incredibly slow and renders the app useless. Worked great in iOS 14..
How can we disable this setting in a WKWebView?
Why would it be that that canvases performed better on the CPU but Apple dropped that as the default and switched to GPU processing? Wouldn't the switch be to increase performance?
Really concerned about the future of my app if we can't disable this 'feature'. Will the setting eventually go away and this will be the default?
Having the same issue.. It's like the trailing whitespace disappears in the view until you type a character.
Apple can you look at this? Should we file a bug report?
Did you ever find a solution to this? I'm facing the same difficulty and there isn't much documentation on the DrawableQueue API.
@DTS Engineer
Thanks for the quick response.
I'm not sure what the enhancement request would be other than maybe support for specifying on a MPS shader the pixelFormat so it knows how to handle it.
Unfortunately the AVFoundation RGB format makes performance significantly worse - so we want to ideally decode natively. If I want to keep things decoded YUV - would the better performance be to convert to RGB in a shader then do the MPS Scale? Or just create two different MPS filters and use a bi-planar decode format. The bi-planar seems better for performance because I would need to encode back to a ProRes file quickly.
Thanks,
Joe
Has anyone found a workaround for this? I cannot have a NavigationStack inside a TabView without it double pushing.