Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwiftUI/UIViewRepresentable.swift:346: Fatal error: UIViewRepresentables must be value types: PlayerContainerView #14

Open
wyy511511 opened this issue Oct 19, 2022 · 2 comments

Comments

@wyy511511
Copy link

Thank you!

@magdics
Copy link

magdics commented Jan 11, 2023

same issue, how to resolve?

@flofriday
Copy link

So just I ran into the same issue and you can solve it by changing final class PlayerContainerView to struct PlayerContainerView.

I got inspired by this post: https://developer.apple.com/forums/thread/709433

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

No branches or pull requests

3 participants