francisco
02/13/2023, 10:48 PMSecureField
https://developer.apple.com/documentation/swiftui/securefieldhfhbd
02/13/2023, 10:49 PMTextField(
value = value,
onValueChange = onValueChange,
visualTransformation = PasswordVisualTransformation()
)
Stylianos Gakis
02/13/2023, 10:51 PMChris Fillmore
02/14/2023, 3:41 AMChris Fillmore
02/14/2023, 3:41 AMPete Doyle
02/14/2023, 3:58 AMSecureField
and I think it also tries to prevent other programs from programmatically watching keystrokes (which is a surprisingly valid thing to do for accessibility, hotkey managers, etc.)
The overall goal was to prevent key loggers (and yeah, probably screen recording?) from recording passwords, etc. Combined with Apple silicon no longer allowing kexts by default, and System Integrity Protection, seemed like they could actually provide some pretty strong guarantees that no one else could watch keyboard entry into those fields.
(I'm also curious about this for Android)ephemient
02/14/2023, 4:24 AMephemient
02/14/2023, 4:28 AM