Swift Xcode安全文本条目星号未显示屏幕镜像 /录制

发布于 2025-01-28 16:39:22 字数 150 浏览 1 评论 0原文

我已经检查了安全的文本条目并输入 “ pwdtextfield.issecuretextentry = true” 作为代码。 因此,我可以看到我应用程序的密码文本字段内的星号。

但是,仅通过镜像屏幕或记录屏幕,它才变成白色,并且星号是看不见的。 有没有人知道如何解决它?

I have checked the Secure Text Entry and entered
"pwdTextfield.isSecureTextEntry = true"
as the code.
Therefore, I can see the asterisk well inside password text field of my app.

However, just by mirroring the screen or recording the screen, it only becomes white and the asterisk is invisible.
Is there anyone who knows how to solve it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

泪意 2025-02-04 16:39:22

这是UITEXTFIELD的强大功能,其安全场启用由Apple提供。
它隐藏了屏幕截图和视频记录的数据,以防止敏感的数据泄漏。

This is powerful of UITextField with secure field enable provided by Apple.
It hides data for screenshots and video records to preventing sensitive data leakage.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文