title: Xcode: Pdf's in a UIScrollView with Paging enabled
body: <p>Im having trouble loading pdf's in a <code>UIWebView</code> when inside a <code>Scrollview</code> with paging enabled and just can't get my head around it.</p>
  
  <p>So i started with the paging sample code available at apple developer, once done that i loaded instead of a Label in the <code>ViewController</code> a <code>UIWebView</code> that loads the Pdf. and it did worked but with a lot of bugs with rotation and scaling on the device.</p>
  
  <p>On iOS 5 scaling is simply not working it zooms but scrolls to top and doesn't allow me to move inside the <code>UIWebView</code> so when I move the only thing i do is move between the pages not inside the <code>UIWebView</code>. 
  And with iOS 4 it does let me move but has tons of trouble when rotating the device, it doesn't refresh the <code>UIWebView</code> inside to the new frame (even though i do change the frame on <code>didRotate method</code>), so i was wondering if there is another method to load the PDFs that is not a <code>UIWebView</code> that is compatible with zooming and rotating with the <code>UIScrollView</code> with Paging.</p>
  
  <p>Or is there something I should consider when loading the <code>UIWebView</code> inside the <code>UIScrollView</code>? a feature i have to enable or something i am missing?</p>
  
  <p>Because at the beginning I thought it was a bug on iOS 5 and that i was doing something wrong when rotating (which probably i am anyway) but i have several apps on my iPad with ios 5 that do the same but have absolutely no trouble.</p>
  
  <p>I hope you can point me in the right direction.
  Thanks in advance!</p>