dan gibson
dan gibson

Reputation: 3665

how to determine current scale on iphone web page

You can set the inital-scale, but how do you get/set the current scale?

Upvotes: 1

Views: 1086

Answers (1)

FreeAsInBeer
FreeAsInBeer

Reputation: 12979

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.

Upvotes: 1

Related Questions