开发者

how to determine current scale on iphone web page

开发者 https://www.devze.com 2023-02-22 23:23 出处:网络
You can set the inital-scale, but how do you g开发者_Python百科et/set the current scale?You can do this using Objective-C like so:

You can set the inital-scale, but how do you g开发者_Python百科et/set the current scale?


You can do this using Objective-C like so:

[myUIWebView zoomScale];

There is no way to do this using Javascript, so unless you are implementing your own UIWebView, this is impossible.

0

精彩评论

暂无评论...
验证码 换一张
取 消