user532445
user532445

Reputation: 763

ZoomIn and ZoomOut in UIWebView?

I want to open one URL in UIWebView, I am able to open URL but It's rending big like Ref : enter image description here

I want to open URL capture full view or we can say all the contents of the url will be visible at a time and user can pinch( ZoomIn and ZoomOut like UIScrollView) the web page. How can I implement this. Thank you.

I want to show URL in WebView like this . enter image description here

Upvotes: 0

Views: 242

Answers (1)

Jhaliya - Praveen Sharma
Jhaliya - Praveen Sharma

Reputation: 31722

Set scalesPageToFit property to YES .

  myWebView.scalesPageToFit = YES;

Upvotes: 1

Related Questions