LolaRun
LolaRun

Reputation: 5666

pinch zooming for a UIWebView for ios 3.0 and newer

I've been reading about how to support the zooming for a webview, and i've found a lot of resources. And now i'm really lost.

What i've read:

And apple documentation doesn't really help, and i can't really tell which ios are they talking about? I'm really lost now.

So if some veteran in coco-touch (which is very rare to find) can guide us.

And which is required in approximately which ios. Maybe this topic will help me and other people like me.

Thanks a lot in advance

Upvotes: 1

Views: 2759

Answers (1)

Justin Spahr-Summers
Justin Spahr-Summers

Reputation: 16973

Just enabling scalesPageToFit should do it; however, it's only possible to zoom to 100%, which also means that you can't zoom a page which is less than or equal to the screen size to begin with.

Upvotes: 5

Related Questions