Skip to content

Conversation

@benlenarts
Copy link

When using the backport outside of the context of UICollectionViewCell, I noticed that the result of makeContentView() is an empty view. After setting configuration on that view the SwiftUI content appears.

This behavior is different from UIHostingConfiguration, which shows the SwiftUI content immediately.

This seems to be an oversight, because all it takes to fix this is to trigger the didSet block in the initializer.

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.

1 participant