ios - UIScrollView not active when zoom -


my problem are:

  1. i implement uiscrollview (drawview)to draw on it(task ok).
  2. i drag scrollview viewcontroller using storyboard , assign drawview class it.
  3. i using pink gesture zoom 1 element in drawview, correct, when element out of size drawview cant scroll see part of element.

in file viewcontroller.m

- (void)viewdidload {     [super viewdidload];      [self.drawingview setscrollenabled:yes];     [self.drawingview setcontentsize:cgsizemake(100, 200)]; } 

can give me way solution problem or tutorial same? thank

sorry bad grammar

set content size of scrollview size of element adding it.

say elementview view adding scroll view then,

[self.drawingview setcontentsize:elementview.size];  

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -