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

Adding to window blackout whole the app #26

Closed
reenaphilipcp360 opened this issue Nov 12, 2024 · 1 comment
Closed

Adding to window blackout whole the app #26

reenaphilipcp360 opened this issue Nov 12, 2024 · 1 comment

Comments

@reenaphilipcp360
Copy link

When adding the screenshield to the window instead of a view, whole app is showing as black screen

@olgaRozen
Copy link

I removed these lines of code, and it fixed the issue:

secureTextField.topAnchor.constraint(equalTo: self.topAnchor, constant: 0).isActive = true secureTextField.bottomAnchor.constraint(equalTo: self.bottomAnchor, constant: 0).isActive = true secureTextField.leadingAnchor.constraint(equalTo: self.leadingAnchor, constant: 0).isActive = true secureTextField.trailingAnchor.constraint(equalTo: self.trailingAnchor, constant: 0).isActive = true

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