I am displaying a UIWebview in a view controller that is presented as a modal view controller of style “form sheet”. In that web view I am presenting a PDF file.
Here’s what it looks like:

My problem is that it won’t fit (width wise) despite me calling setScaledPageToFit. Also, I can’t pan the web view width wise so I can’t even see what is cut off. I have called these methods of the web view:
[webView setScalesPageToFit:YES];
[webView setMultipleTouchEnabled:YES];
What am I doing wrong?
Thanks!
Check the frame and autoresizing masks of the
UIWebViewAnchor it to all sides of the superview and set the flexible width and height. Make sure the frame covers the bounds of the superview.