简体   繁体   English

辅助功能按钮问题,如何禁用它

[英]Accessibility Button On issue, how to disable it

please help me the Apple Accessibility Button On API has affected my UI.请帮助我 API 上的 Apple 辅助功能按钮影响了我的 UI。

I want to disable the 'button on' but I don't know how I have apply accessibilityHidden(true) to the whole view and button, but is still not working.我想禁用“按钮打开”,但我不知道如何将accessibilityHidden(true) 应用于整个视图和按钮,但仍然无法正常工作。

my code has following我的代码有以下

if isLogged == false {
                LoginHomeView(loginData: loginData)
                    .dynamicTypeSize(.medium ... .medium)
                    .preferredColorScheme(.light)
                    .accessibilityHidden(true)
            } else {
               
                    
                    CustomTabBar()
                    .dynamicTypeSize(.medium ... .medium)
                    .preferredColorScheme(.light)
                    .accessibilityHidden(true)

            } 

please see the photo请看照片在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM