我正在尝试使用 iOS 中的 Google Maps SDK(Swift 3.0、XCode 8.1)来访问我的标记/项目/集群。
可访问性检查器将“特征”显示为“按钮”,但当突出显示时,它实际上显示了正确的标签(参见屏幕截图)。
我正在尝试在标记、群集项、标记图标甚至标记 iconView 上添加代码:
marker.accessibilityLabel = "marker Accessibility label"
marker.icon.accessibilityLabel = "marker icon accessibility label"
Run Code Online (Sandbox Code Playgroud)
同时将“isAccessibilityElement”设置为 true。
有谁有在 iOS 上访问 Google 地图的经验吗?
谢谢!