-
Notifications
You must be signed in to change notification settings - Fork 35
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
How to work on iOS 16.4 in SwiftUI. #13
Comments
can you try adding if #available(iOS 16, *) { to getHiddenContainerTypeInStringRepresentation |
It's not work. |
Hi, I've try to run in all ios16.* versions and its working fine. I created a template for you can test if you want. https://github.com/vitor-otero/testScreenShot16.git If you have any trouble let me know. Cheers 🍻 |
It just doesn't work for me, the screenshot is made. I tested on a Simulator with this code: var body: some Scene {
WindowGroup {
NavigationStack {
ScreenshotPrevent(isProtected: true) {
MyElement()
}
}
.environmentObject(...)
.environmentObject(...)
}
} I use iOS 16.4 |
@acmpo6ou @vitor-otero @zihjielitw @mmdock @shun77768 ScreenShield is a similar library that provides a simple way to protect your app's content from being captured or recorded by screenshots and screen recordings, supported in iOS 17 as well. |
Hi, @yoxisem544.
Thank you for your amazing tool.
I have a few questions.
When I set your tools on iOS 16.4 in SwiftUI, I can't tap list column and my app's layout is not working well.
And I can't move to a detailed page. The preventing screenshot function is working well.
How do I fix it? Thank you.
The text was updated successfully, but these errors were encountered: