Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 SwiftUI 中使用 wkwebview 作为 UIViewRepresentable 来加载 html 内容。但是,网络视图中的图像有时太小,我想点击以打开该图像的新视图,以便能够放大/缩小该新图像。
如何检测来自 wkwebview 的图像的点击/单击并获取该图像的 url?