Reset the UIWebView zoom value using java script
<p>Instead of loadRequest: method of UIWebview, I am loading the UIWebview content using the java script for faster loading. I have only one web view in my application and depending upon the selection in the table view, web view's content will be changed. There is also a pinch zoom support for the web view. Now the problem I am facing is with resetting the zoom factor to default value when the table view selection changes.</p>

<p>For Example: Lets say I am viewing the content for some selection in table view and I will pinch zoom and the zoom factor is set to the maximum value say 5.0. Now if I change the selection in table view, I want the content to be loaded using the default zoom factor i,e 1.0. </p>

<p>I have tried using the java script code I found in net. Please refer the code below.</p>

<p>meta name=\"viewport\" content=\"width=device-width; initial-scale=1.0; minimum-scale=1.0 maximum-scale=5.0;\"</p>

<p>Unfortunately,zoom factor is not reset by using this code. But I am able to set the maximum scale factor for the UIWebview. Please let me if anyone knows solution for this.</p>

<p>[PS: If we use UIWebview's loadRequest: method and set scalesPageToFit property to YES then, UIWebView itself handles this issue]</p>
