privacySensitive on lockScreen does not seem to work...

Documentation seems to say that privacySensitive is supposed to redact on the lockScreen. I've disabled "Allow Access when locked" for "Lock Screen Widgets" just in case. It does not work for me. If I add "redacted(reason:) into the view hierarchy it redacts all the content all the time including on the home screen. I've read articles. I gone through a lot of documentation. None of them seem to give the magic formula for redacting sensitive content on the lock screen.

I'm using iOS 18.7 on a real iPhone 14 Pro Max.

Answered by hdspells7 in 859517022

I was able to get it to redact if I also turn off "Unlock iPhone with FaceID" as well as turning off "Settings"> "Face ID & Passcode" > "Allow Access When Locked" > "Lock Screen Widgets"

Accepted Answer

I was able to get it to redact if I also turn off "Unlock iPhone with FaceID" as well as turning off "Settings"> "Face ID & Passcode" > "Allow Access When Locked" > "Lock Screen Widgets"

privacySensitive on lockScreen does not seem to work...
 
 
Q