Skip to content

Main View Can't able to access it #35

Description

@Rameshmca13

I enabled the code for window-level screenshot protection. When I added the following snippet:
guard superview != nil else { for subview in subviews { subview.setScreenCaptureProtection(config: config) } return }
it blocks the screen at the layer level. The initial screen works fine, but when I navigate to the next screen, I can’t access it.

If I comment out the code, everything works fine. But when I enable it with accessibility turned on, the app crashes at the layer level.

Can you help me for that

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions