Skip to content

Conversation

@davdroman
Copy link
Collaborator

@davdroman davdroman commented Jul 9, 2025

Something in the way SwiftUI works in xOS 26 makes it so that some views aren't quite ready to be customized by the time they're handed over via the customize closure. In this instance, a thread hop is necessary. While we already had a similar mechanism for some iOS 13 scenarios, they were guarded behind #available, but now that it's more generalized it makes sense to do it always. I've added a disclaimer to .introspect explaining this caveat.

Fixes #465.

@davdroman davdroman merged commit b7577c4 into main Jul 9, 2025
17 checks passed
@davdroman davdroman deleted the thread-hop branch July 9, 2025 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introspect scrollView on v26 not called consistently

2 participants