我研究过这个话题,堆栈说,没有办法处理 map 上的点击事件。
如标题所示,有没有其他方法可以禁用触发器到原生 map ,因为它会降低用户体验并更改它以在点击时再次生成 map ?
非常感谢。
最佳答案
不确定谁说这是不可能的,但你可以禁用水龙头,但你必须使用 Storyboard。只需取消选中 Attribute Inspector 下的 Enabled
复选框, map 将不会被点击启用。
根据 Apple 文档:
A checkbox that indicates whether the map is enabled. When the map is enabled, tapping it launches the Maps app and displays the currently set location.
关于ios - WKInterfaceMap 禁用触发原生 Apple Watch map ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31112432/