我怎么知道UIWebView中何时出现放大镜? [英] How can I know when the Magnifying Glass comes up in UIWebView?

查看:65
本文介绍了我怎么知道UIWebView中何时出现放大镜?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检测UIWebView中何时出现放大镜?

How I can detect when the magnifying glass comes up in a UIWebView?

推荐答案

假设您正在编写要在应用商店中发布的应用,则不能-UIWebView的结构对您来说是不透明的,并且可以' t深入了解其组成部分.尽管我怀疑是否有可能深入了解其结构,并弄清楚何时触发了什么,但您冒着很大的风险,苹果将在随后的OS更新中更改UIWebView的结构并破坏您的应用程序.

Assuming you're writing an app to release on the app store, you can't - the structure of a UIWebView is opaque to you, and you can't drill down into its component parts. Whilst I suspect it would be possible to descend into its structure and figure out exactly what was getting triggered when, you run a very large risk that Apple will change UIWebView's structure in a subsequent OS update and break your app.

因此,除非您不使用公共API(因此可以通过应用商店以外的渠道使用),否则恐怕您可能不走运.

So unless you're going outside of the public API (and thus making available through channels other than the app store) I'm afraid you may be out of luck.

这篇关于我怎么知道UIWebView中何时出现放大镜?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆