macOS 15.1.
In an example app I wrap a SwiftUI Button and an NSButton in a NSView container. When showing the container from a simple NSViewRepresentable, both work. But when I show the container in an overlay of a PDFView using PDFPageOverlayViewProvider, just the SwiftUI button does not work. I set no offsets.
Both Buttons work on iOS (using UI... variants).
A possible cause might be that is that text selection mode is active on Mac by default. But why would this just stop the SwiftUI button and not the NSButton from working?
Post
Replies
Boosts
Views
Activity
I had slow app startup times (12s) on my iPad when debugging (via cable). My iPhone, which I did not want to use for debugging, was connected via Wifi. After I connected also the iPhone, startup time on the iPad went down to 3s. After disconnecting the iPhone, startup time stayed on 3s.
The newest iOS17 beta fixes this bug.