iphone - Apple ZoomingPDFViewer won't allow dragging until after first zoom -
i'm using sample code view pdf in iphone app:
however, problem can't seem drag initially. can pinch , zoom initially, , after i've zoomed once, can drag view around fine. can't drag when view first loads.
any ideas?
i think i've figured out solution, though why doesn't work beyond me. if set zoomscale property, seems trigger whatever needed allow dragging , scrolling take place, if set property 1, nothing.
i did in initwithframe: method of uiscrollview:
... self.zoomscale = 1; ...
if else knows of better or more correct way this, or has explanation why happens, i'd know.
Comments
Post a Comment