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

Screenshotting UIViewRepresentable #8

Open
mazenkourouche opened this issue Aug 19, 2024 · 1 comment
Open

Screenshotting UIViewRepresentable #8

mazenkourouche opened this issue Aug 19, 2024 · 1 comment

Comments

@mazenkourouche
Copy link

Works well on all views unless UIViewRepresentable

@RickeyBoy
Copy link
Owner

I've tested simple usage like following works well:

ScreenshotableView(shotting: $shotting) { screenshot in
                self.screenshot = Image(uiImage: screenshot)
            } content: { style in
                 // some UIViewRepresentable
            }

If you still have problems, can paste your code here

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

2 participants