Skip to content

Commit

Permalink
I have added a force quit feature to prevent the application from rea…
Browse files Browse the repository at this point in the history
…ching this point.
  • Loading branch information
hosy committed Jan 20, 2025
1 parent f987304 commit f38f53c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class SecureTextField : UITextField {
return secureView
}

// If screenshot protection was not possible, force close the application.
exit(0)

let view = UIView()
view.translatesAutoresizingMaskIntoConstraints = false

Expand Down

0 comments on commit f38f53c

Please sign in to comment.